-
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
@angular-devkit/build-angular:v0.803.4 build fails for differential loading with optimization=true #15580
Comments
If possible could you try changing lines 261 & 274 in Also could you provide the output of either |
@clydin yes it did the trick, no errors after your suggested edits The output of
Thanks for looking into this and let me know if you need any more info. |
I have just updated build-angular too and it fails with the same message (also it is printing the whole minified string main.js bundle in the console - one gigantic string - which is not useful at all). |
Having the same issue with our application after finally upgrading it from Angular 7 to 8. |
…ith terser There appears to be defects related to terser's ECMA 6 options. The optimizations present a minima size improvement in general. Further investigation is required to determine the underlying cause within terser. Fixes angular#15580
…ith terser There appears to be defects related to terser's ECMA 6 options. The optimizations present a minima size improvement in general. Further investigation is required to determine the underlying cause within terser. Fixes #15580
…ith terser There appears to be defects related to terser's ECMA 6 options. The optimizations present a minima size improvement in general. Further investigation is required to determine the underlying cause within terser. Fixes #15580
I'm still hitting this problem in v0.803.5 and no later version appears to be available on NPM - is that expected? For now I've just rolled back to v0.803.3. |
Patch releases are generally released every Wednesday. This will be in .6. |
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:@angular-devkit/build-angular:v0.803.3
Description
A clear and concise description of the problem...Build fails with the latest
@angular-devkit/build-angular:v0.803.4
ifoptimization
is enabled i.e.ng build --optimization=true
🔬 Minimal Reproduction
I tried to create a new app to reproduce it without success yet and I am afraid I cannot share the repo either.
But I did some digging and it seems related to fix 7a75c4c and differential loading. If I set my
browserlist
tolast 1 Chrome versions
the build is OK.🔥 Exception or Error
🌍 Your Environment
Anything else relevant?
The text was updated successfully, but these errors were encountered: