Use supportsES6 flag in ts compilation for language typescript-angular (#7408)

This commit is contained in:
Tobias Wich 2018-01-22 06:40:20 +01:00 committed by William Cheng
parent 7d2b49085f
commit 524f162e63

View File

@ -4,8 +4,8 @@
"experimentalDecorators": true, "experimentalDecorators": true,
"noImplicitAny": false, "noImplicitAny": false,
"suppressImplicitAnyIndexErrors": true, "suppressImplicitAnyIndexErrors": true,
"target": "es5", "target": "{{#supportsES6}}es6{{/supportsES6}}{{^supportsES6}}es5{{/supportsES6}}",
"module": "es6", "module": "{{#supportsES6}}es6{{/supportsES6}}{{^supportsES6}}commonjs{{/supportsES6}}",
"moduleResolution": "node", "moduleResolution": "node",
"removeComments": true, "removeComments": true,
"sourceMap": true, "sourceMap": true,