-
Notifications
You must be signed in to change notification settings - Fork 12k
Syntax error in main.js bundle in IE11 with @angular-devkit/[email protected] #17373
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
Tranferred to CLI repo for more accurate triaging. |
This seems like a bug but we'll need to look at a reproduction to find and fix the problem. Can you setup a minimal repro please? You can read here why this is needed. A good way to make a minimal repro is to create a new app via This might be related to your directory structure so its really important to get an accurate repro to diagnose this. |
Hello @alan-agius4 , Here is the repro repo: https://github.com/snbfan/ie-syntax-error-build-repro-17373 . Project in the repo is built with NG cli 9.1.0. When I rebuilt the app with @angular-devkit/[email protected], the line in main.js is looking different: I believe this build result difference is causing the error n IE11. |
This update contains the following fix GoogleChromeLabs/worker-plugin#65 Closes: #17373
This update contains the following fix GoogleChromeLabs/worker-plugin#65 Closes: #17373
Closed via #17607 |
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. |
Uh oh!
There was an error while loading. Please reload this page.
🐞 bug report
Affected Package
@angular-devkit/[email protected]
Is this a regression?
Yes, the previous version in which this bug was not present was: 0.900.3Description
Recently we updated our project to Angular9.1.0.On IE11 we observe a regression - there's a syntax error in the minified js code.
The issue is assumably caused by @angular-devkit/build-angular package .
With @angular-devkit/[email protected] we experience a syntax error in the final js bundle on IE11.
This doesn't happen with @angular-devkit/[email protected] .
🔬 Minimal Reproduction
https://stackblitz.com/...🔥 Exception or Error
Issue 1 (js syntax error):
https://imgur.com/a/AvMfic4
Issue 2:
We looked into source of syntax error (Issue 1) (https://imgur.com/a/MtZ6E17) and then tried to simplify/reformat the code and build it, this is what we got:
🌍 Your Environment
Angular Version:
Anything else relevant?
IE version 11.0.9600.19180.
Windows 7
The text was updated successfully, but these errors were encountered: