Skip to content

Commit

Permalink
fix(tsconfig): use inheritance for ng4
Browse files Browse the repository at this point in the history
  • Loading branch information
cexbrayat committed Feb 28, 2017
1 parent dd9eb17 commit 64ce6fd
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 64ce6fd

Please sign in to comment.