-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Description
Versions
`Angular CLI: 6.0.0
Node: 8.10.0
OS: win32 x64
Angular: 6.0.0
... animations, cli, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
Package Version
@angular-devkit/architect 0.6.0
@angular-devkit/build-angular 0.6.0
@angular-devkit/build-optimizer 0.6.0
@angular-devkit/core 0.6.0
@angular-devkit/schematics 0.6.0
@ngtools/webpack 6.0.0
@schematics/angular 0.6.0
@schematics/update 0.6.0
rxjs 6.1.0
typescript 2.7.2
webpack 4.6.0`
Repro steps
- Create a site with ng new
- Add a lazy path with loadChildren
- ng build --prod
Observed behavior
Every time production build happens the hashes in the chunks do not change.
Desired behavior
Every single --prod build should result in unique hashes for cache busting.
Mention any other details that might be useful (optional)
Not sure if this is an issue with Angular cli or with webpack but it's definitely effecting Angular. I believe it's also in 5.2.10.
Not sure if this is windows only, but it happens locally on Windows and in VSTS hosted build.