Differential loading with es5 support enabled doesn't inject es5 bundles in the extra html files generated through @angular-builders/custom-webpack
See original GitHub issueπ Bug report
Command (mark with an x)
- new
 - build
 - serve
 - test
 - e2e
 - generate
 - add
 - update
 - lint
 - xi18n
 - run
 - config
 - help
 - version
 - doc
 
Description
A clear and concise description of the problem...Recently we updated our project to Angular9.1.0 from Angularv7.3.8. We use @angular-builders/custom-webpack to generate index files for higher environments. After migration, i enabled Differential loading with es5 support enabled(With browserslist for IE11). After build, i can see that the generated htmls through custom webpack builder doesnβt have es5 builds injected in it. It has all the es2015 bundles and polyfills-es5. Since it doesnβt have other es bundles in it, it will fail in IE.
π¬ Minimal Reproduction
https://stackblitz.com/edit/angular-kzvnyl
π Your Environment
Angular cli 9.1.1 Nod 10.15.3 Os: Win32
β@angular/animationsβ: β^9.1.0β, β@angular/commonβ: β^9.1.0β, β@angular/compilerβ: β^9.1.0β, β@angular/coreβ: β^9.1.0β, β@angular/formsβ: β^9.1.0β, β@angular/platform-browserβ: β^9.1.0β, β@angular/platform-browser-dynamicβ: β^9.1.0β, β@angular/platform-serverβ: β^9.1.0β, β@angular/routerβ: β^9.1.0β, β@angular/cliβ: β^9.1.0β, β@angular/compiler-cliβ: β^9.1.0β, β@angular/language-serviceβ: β^9.1.0β, β@angular-builders/custom-webpackβ: β^9.0.0β, β@angular-builders/dev-serverβ: β^7.3.1β, β@angular-devkit/build-angularβ: β~0.901.0β,
Issue Analytics
- State:
 - Created 3 years ago
 - Comments:9 (4 by maintainers)
 

Top Related StackOverflow Question
Just to clarify -
indexTransformis an option incustom-webpackbuilder.My badβ¦didnβt notice it :p