Skip to content

Commit 5602dac

Browse files
committed
simplify tsconfig to introduce tsconfig.es5.json
1 parent cdcc306 commit 5602dac

5 files changed

+15
-13
lines changed

tsconfig.dist.webpack.json

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
{
2-
"extends": "./tsconfig.json",
2+
"extends": "./tsconfig.es5.json",
33
"compilerOptions": {
4-
"target": "es5",
54
"module": "esnext",
6-
"outDir": "./build/es5",
7-
"declaration": false,
8-
"downlevelIteration": true,
9-
"noEmitOnError": true
5+
"noEmitOnError": true,
6+
"outDir": "./build/webpack"
107
},
118
"include": ["src/**/*.ts"]
129
}

tsconfig.es5.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"target": "es5",
5+
"downlevelIteration": true,
6+
"outDir": "./build/es5"
7+
}
8+
}

tsconfig.test-dist-es5-purejs.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "./tsconfig.json",
2+
"extends": "./tsconfig.es5.json",
33
"compilerOptions": {
44
"outDir": "./build/test-dist-es5-purejs",
55
"noImplicitAny": false,

tsconfig.test-dist-es5-wasm.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "./tsconfig.json",
2+
"extends": "./tsconfig.es5.json",
33
"compilerOptions": {
44
"outDir": "./build/test-dist-es5-wasm",
55
"noImplicitAny": false,

tsconfig.test-karma.json

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
{
2-
"extends": "./tsconfig.json",
2+
"extends": "./tsconfig.es5.json",
33
"compilerOptions": {
4-
"target": "es5",
54
"module": "esnext",
6-
"outDir": "./build/karma",
7-
"declaration": false,
8-
"downlevelIteration": true
5+
"outDir": "./build/karma"
96
}
107
}

0 commit comments

Comments
 (0)