Internet Explorer prod build broken at runtime by 8.3.20 upgrade #16405
Labels
area: @angular-devkit/build-angular
freq1: low
Only reported by a handful of users who observe it rarely
severity5: regression
type: bug/fix
Milestone
🐞 Bug report
Command (mark with an
x
)Is this a regression?
Yes, the previous version in which this bug was not present was: 8.3.19
Description
Production build is completely fine when compiled with 8.3.19 and is working on Internet Explorer. Upgrading to 8.3.20 (and devkit/build-angular to 0.803.20 accordingly) is breaking the runtime execution of the app. No other project change besides this 19-to-20 change.
🔬 Minimal Reproduction
The problem is NOT present when I use
ng serve
nor it is withng serve --prod
(assuming here the target is es5). I could only get the error when the final prod build is deployed on a web server (with differential loading active). The error stacktrace is consequently lost in the minified JS and doesn't say much about the problem location.🔥 Exception or Error
According to MDN, Arrays.some is supported by Internet Explorer since version 9. I searched my entire code for calls to any
some
method and could not find a single one.🌍 Your Environment
Anything else relevant?
IE11
Browserslist :
Compiler options for
ng build --prod
:module : exnext
target: es2015
The text was updated successfully, but these errors were encountered: