Skip to content

Commit dafc91f

Browse files
committed
add tsconfig inheritance
1 parent 3a81e62 commit dafc91f

File tree

2 files changed

+10
-27
lines changed

2 files changed

+10
-27
lines changed

tsconfig.aot.json

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,12 @@
11
{
2+
"extends": "./tsconfig",
23
"compilerOptions": {
3-
"noEmitOnError": true,
4-
"noEmitHelpers": true,
5-
"sourceMap": false,
6-
"removeComments": true,
74
"declaration": true,
8-
"experimentalDecorators": true,
9-
"target": "es5",
10-
"module": "commonjs",
11-
"outDir": "bin/dist",
12-
"lib": ["es6", "dom", "es2015.iterable"],
13-
"rootDir": ".",
14-
"baseUrl": ".",
15-
"paths": {
16-
"*": [
17-
"./node_modules/tns-core-modules/*",
18-
"./node_modules/*"
19-
]
20-
},
5+
"lib": [
6+
"es6",
7+
"dom",
8+
"es2015.iterable"
9+
],
2110
"emitDecoratorMetadata": true,
2211
"moduleResolution": "node"
2312
},
@@ -27,4 +16,4 @@
2716
"angularCompilerOptions": {
2817
"skipTemplateCodegen": true
2918
}
30-
}
19+
}

tsconfig.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
"outDir": "bin/dist",
1313
"lib": [
1414
"es6",
15-
"dom",
16-
"es2015.iterable"
15+
"dom"
1716
],
1817
"rootDir": ".",
1918
"baseUrl": ".",
@@ -29,10 +28,5 @@
2928
"demo",
3029
"demo-ng",
3130
"bin"
32-
],
33-
"angularCompilerOptions": {
34-
"genDir": "bin/dist",
35-
"skipTemplateCodegen": true
36-
},
37-
"compileOnSave": false
38-
}
31+
]
32+
}

0 commit comments

Comments
 (0)