Skip to content

Commit 58c42ae

Browse files
cexbrayatfilipesilva
authored andcommitted
fix(@angular/cli): use inheritance for ng4
Close #5111
1 parent fdf6a4f commit 58c42ae

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

packages/@angular/cli/blueprints/ng/files/__path__/tsconfig.app.json

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,18 @@
11
{<% if (ng4) { %>
22
"extends": "<%= relativeRootPath %>/tsconfig.json",
3-
"compilerOptions": {
4-
"lib": [
5-
"es2016",
6-
"dom"
7-
],<% } else { %>
3+
"compilerOptions": {<% } else { %>
84
"compilerOptions": {
95
"sourceMap": true,
106
"declaration": false,
117
"moduleResolution": "node",
128
"emitDecoratorMetadata": true,
139
"experimentalDecorators": true,
10+
"target": "es5",
1411
"lib": [
1512
"es2016",
1613
"dom"
1714
],<% } %>
1815
"outDir": "<%= relativeRootPath %>/out-tsc/app",
19-
"target": "es5",
2016
"module": "es2015",
2117
"baseUrl": "",
2218
"types": []

0 commit comments

Comments
 (0)