Skip to content

Commit 400d895

Browse files
committed
Change compilation options
1 parent 5be49b0 commit 400d895

File tree

2 files changed

+26
-33
lines changed

2 files changed

+26
-33
lines changed

tsconfig.json

Lines changed: 25 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,27 @@
11
{
2-
"compileOnSave": false,
3-
"compilerOptions": {
4-
"noImplicitAny": true,
5-
"module": "commonjs",
6-
"target": "es5",
7-
"emitDecoratorMetadata": true,
8-
"experimentalDecorators": true,
9-
"sourceMap": true,
10-
"declaration": true,
11-
"allowUnusedLabels": false,
12-
"noImplicitReturns": true,
13-
"outDir": "./distapp",
14-
"moduleResolution": "node",
15-
"typeRoots": [
16-
"node_modules/@types"
17-
],
18-
"lib": [
19-
"es2016",
20-
"dom"
21-
]
22-
},
23-
"includes": [
24-
"./src"
25-
],
26-
"angularCompilerOptions": {
27-
"strictMetadataEmit": true,
28-
"skipTemplateCodegen": true
29-
}
2+
"compileOnSave": false,
3+
"compilerOptions": {
4+
"noImplicitAny": true,
5+
"module": "es2015",
6+
"target": "es2015",
7+
"emitDecoratorMetadata": true,
8+
"experimentalDecorators": true,
9+
"sourceMap": true,
10+
"declaration": true,
11+
"allowUnusedLabels": false,
12+
"noImplicitReturns": true,
13+
"outDir": "./dist/out-tsc",
14+
"moduleResolution": "node",
15+
"typeRoots": [
16+
"node_modules/@types"
17+
],
18+
"lib": [
19+
"es2017",
20+
"dom"
21+
]
22+
},
23+
"angularCompilerOptions": {
24+
"strictMetadataEmit": true,
25+
"skipTemplateCodegen": true
26+
}
3027
}

tsconfig.ngc.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,5 @@
55
},
66
"include": [
77
"./tmp"
8-
],
9-
"angularCompilerOptions": {
10-
"strictMetadataEmit": true,
11-
"skipTemplateCodegen": true
12-
}
8+
]
139
}

0 commit comments

Comments
 (0)