Skip to content

Commit

Permalink
fix(@angular/cli): use inheritance for ng4
Browse files Browse the repository at this point in the history
Close #5111
  • Loading branch information
cexbrayat authored and filipesilva committed Mar 3, 2017
1 parent 455dbb5 commit 7c3ce6b
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
{<% if (ng4) { %>
"extends": "<%= relativeRootPath %>/tsconfig.json",
"compilerOptions": {
"lib": [
"es2016",
"dom"
],<% } else { %>
"compilerOptions": {<% } else { %>
"compilerOptions": {
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"lib": [
"es2016",
"dom"
],<% } %>
"outDir": "<%= relativeRootPath %>/out-tsc/app",
"target": "es5",
"module": "es2015",
"baseUrl": "",
"types": []
Expand Down

0 comments on commit 7c3ce6b

Please sign in to comment.