-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Description
🐞 Bug report
What modules are related to this issue?
- aspnetcore-engine
- builders
- common
- express-engine
- hapi-engine
- module-map-ngfactory-loader
Is this a regression?
I don't know cause i was not using the previous version
Description
Prerendering always creates named chunks. If i run ng run app:build:production
everything builds correctly https://prnt.sc/r2dytb , but if i run it with ng run app:prerender:production
the lazy loaded modules are still named based on the module name https://prnt.sc/r2dzp1
🔬 Minimal Reproduction
- Create angular app (v9)
ng add @nguniversal/express-engine
- create a module to lazy load
- run
ng run app:prerender:production
🌍 Your Environment
Angular CLI: 9.0.2
Node: 12.14.1
OS: win32 x64
Angular: 9.0.1
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... platform-server, router
Ivy Workspace: Yes
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.900.2
@angular-devkit/build-angular 0.900.2
@angular-devkit/build-optimizer 0.900.2
@angular-devkit/build-webpack 0.900.2
@angular-devkit/core 9.0.2
@angular-devkit/schematics 9.0.2
@angular/cli 9.0.2
@ngtools/webpack 9.0.2
@nguniversal/builders 9.0.0
@nguniversal/common 9.0.0
@nguniversal/express-engine 9.0.0
@schematics/angular 9.0.2
@schematics/update 0.900.2
rxjs 6.5.4
typescript 3.7.5
webpack 4.41.2
dimamarksman, pep1, evil-morfar, neo, d2kx and 4 moreExocomp and d2kx