feat(@angular/cli): support ES2015 target#7610
Conversation
37d669a to
aa0e8a8
Compare
|
Thanks for this? Is there a plan for merging this soon ? |
aa0e8a8 to
1f117a1
Compare
1f117a1 to
800484d
Compare
|
I bow! |
|
I think a lot of issues on Angular repo should be closed by this, and even more on S.O. |
|
@filipesilva how can I make this work so that AOT builds use es2015, but |
|
@pgrm Good question, I am trying to figure out that aswell... (as ng serve does not seem to work with es2015) |
|
What about |
|
@misaunde I do remember in the old and forever long ng serve is slow issue, that people got told, to not use |
|
@pgrm AOT is now much faster with 1.5 and Angular 5 (at the same time), but we won't switch AOT to be the default in 1.5. |
|
Does this config apply to global scripts referenced in |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |

The CLI will now prefer ES2015 modules and use
uglify-esfor an app when the TypeScript configuration uses"target": "es2015"or greater.You can change
"target": "es2015"in the roottsconfig.jsonand it will be picked up by the other tsconfigs.Fix #2907
Fix #7532