-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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-es
for an app when the TypeScript configuration uses"target": "es2015"
or greater.You can change
"target": "es2015"
in the roottsconfig.json
and it will be picked up by the other tsconfigs.Fix #2907
Fix #7532