Skip to content

Commit 801b043

Browse files
hanslMRHarrison
authored andcommitted
refactor: publish es6 instead of es5 (angular#4502)
ES5 is necessary in projects because Uglify does not support ES6.
1 parent 2cedd4d commit 801b043

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

packages/@angular/cli/blueprints/ng2/files/e2e/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"moduleResolution": "node",
1212
"outDir": "../dist/out-tsc-e2e",
1313
"sourceMap": true,
14-
"target": "es5",
14+
"target": "es6",
1515
"typeRoots": [
1616
"../node_modules/@types"
1717
]

packages/@angular/cli/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"rootDir": ".",
1313
"sourceMap": true,
1414
"sourceRoot": "/",
15-
"target": "es5",
15+
"target": "es6",
1616
"lib": [
1717
"es2016"
1818
],

packages/@ngtools/json-schema/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"es2016",
1414
"dom"
1515
],
16-
"target": "es5",
16+
"target": "es6",
1717
"sourceMap": true,
1818
"sourceRoot": "/",
1919
"baseUrl": "./",

packages/@ngtools/logger/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"es2016",
1414
"dom"
1515
],
16-
"target": "es5",
16+
"target": "es6",
1717
"sourceMap": true,
1818
"sourceRoot": "/",
1919
"baseUrl": ".",

packages/@ngtools/webpack/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"es2016",
1414
"dom"
1515
],
16-
"target": "es5",
16+
"target": "es6",
1717
"sourceMap": true,
1818
"sourceRoot": "/",
1919
"baseUrl": "./",

tsconfig.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"sourceMap": true,
1414
"sourceRoot": "",
1515
"inlineSourceMap": true,
16-
"target": "es5",
16+
"target": "es6",
1717
"lib": [
1818
"es2016"
1919
],
@@ -27,8 +27,8 @@
2727
],
2828
"paths": {
2929
"@angular/cli/*": [ "./packages/@angular/cli/*" ],
30-
"@angular-cli/ast-tools": [ "./packages/ast-tools/src" ],
31-
"@angular-cli/base-href-webpack": [ "./packages/base-href-webpack/src" ],
30+
"@ngtools/json-schema": [ "./packages/json-schema/src" ],
31+
"@ngtools/logger": [ "./packages/logger/src" ],
3232
"@ngtools/webpack": [ "./packages/webpack/src" ]
3333
}
3434
},

0 commit comments

Comments
 (0)