mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-19 04:26:01 +08:00
refactor: publish es6 instead of es5 (#4502)
ES5 is necessary in projects because Uglify does not support ES6.
This commit is contained in:
parent
186d50d6ad
commit
1ce50fa02c
@ -11,7 +11,7 @@
|
||||
"moduleResolution": "node",
|
||||
"outDir": "../dist/out-tsc-e2e",
|
||||
"sourceMap": true,
|
||||
"target": "es5",
|
||||
"target": "es6",
|
||||
"typeRoots": [
|
||||
"../node_modules/@types"
|
||||
]
|
||||
|
@ -12,7 +12,7 @@
|
||||
"rootDir": ".",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "/",
|
||||
"target": "es5",
|
||||
"target": "es6",
|
||||
"lib": [
|
||||
"es2016"
|
||||
],
|
||||
|
@ -13,7 +13,7 @@
|
||||
"es2016",
|
||||
"dom"
|
||||
],
|
||||
"target": "es5",
|
||||
"target": "es6",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "/",
|
||||
"baseUrl": "./",
|
||||
|
@ -13,7 +13,7 @@
|
||||
"es2016",
|
||||
"dom"
|
||||
],
|
||||
"target": "es5",
|
||||
"target": "es6",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "/",
|
||||
"baseUrl": ".",
|
||||
|
@ -13,7 +13,7 @@
|
||||
"es2016",
|
||||
"dom"
|
||||
],
|
||||
"target": "es5",
|
||||
"target": "es6",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "/",
|
||||
"baseUrl": "./",
|
||||
|
@ -13,7 +13,7 @@
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "",
|
||||
"inlineSourceMap": true,
|
||||
"target": "es5",
|
||||
"target": "es6",
|
||||
"lib": [
|
||||
"es2016"
|
||||
],
|
||||
@ -27,8 +27,8 @@
|
||||
],
|
||||
"paths": {
|
||||
"@angular/cli/*": [ "./packages/@angular/cli/*" ],
|
||||
"@angular-cli/ast-tools": [ "./packages/ast-tools/src" ],
|
||||
"@angular-cli/base-href-webpack": [ "./packages/base-href-webpack/src" ],
|
||||
"@ngtools/json-schema": [ "./packages/json-schema/src" ],
|
||||
"@ngtools/logger": [ "./packages/logger/src" ],
|
||||
"@ngtools/webpack": [ "./packages/webpack/src" ]
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user