File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,16 @@ Remember to disable the service worker while developing to avoid stale code.
118
118
119
119
Note: service worker support is experimental and subject to change.
120
120
121
+ ### ES2015 support
122
+
123
+ To build in ES2015 mode, edit ` ./tsconfig.json ` to use ` "target": "es2015" ` (instead of ` es5 ` ).
124
+
125
+ This will cause application TypeScript and Uglify be output as ES2015, and third party libraries
126
+ to be loaded through the ` es2015 ` entry in ` package.json ` if available.
127
+
128
+ Be aware that JIT does not support ES2015 and so you should build/serve your app with ` --aot ` .
129
+ See https://github.com/angular/angular-cli/issues/7797 for details.
130
+
121
131
## Options
122
132
<details >
123
133
<summary >aot</summary >
You can’t perform that action at this time.
0 commit comments