-
Notifications
You must be signed in to change notification settings - Fork 12k
ng build throws downlevelIteration error targeting es2015 #14697
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
Comments
@alan-agius4 judging by your commit I suppose I could just add it to the Edit: ok, I think I got it. It's because of differential loading. |
Yeah you are right 😊, thanks for brining this to our attention. |
We by default now use ES2015. Users can use ES2015 iterations however the ES5 build will fail. Fixes #14697
We by default now use ES2015. Users can use ES2015 iterations however the ES5 build will fail. Fixes #14697
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. |
🐞 Bug report
Command (mark with an
x
)Is this a regression?
Yes, the previous version in which this bug was not present was: 7.3.*Description
Building with
ng build
while targetinges2015
throwsdownlevelIteration
error.🔬 Minimal Reproduction
Create a new Angular application and use this code for
app.component.ts
🔥 Exception or Error
🌍 Your Environment
tsconfig.json
The text was updated successfully, but these errors were encountered: