Identical chunk hash names, different file contents
OS?
Kubuntu 16.04
Versions.
angular-cli: 1.0.0-beta.21 node: 6.9.1 os: linux x64
Repro steps.
ng build --prod --aot
The log given by the failure.
It doesn't fail!
Mention any other details that might be useful.
The generated hashed chunks have the same filenames compare to the previous build when the contents of the files are different!!
Let say I build the app using ng build --prod --aot and one of the chunk names is 16.25b41a1d87472f09d7df.chunk.js , then I change/update code and build it again, now the main chunk gets a different hash name but some of the chunks keep the same previous name although they have a slightly different content, this causes problem since the old chunk gets cached in our users browsers.
It usually happens when I add a new component to the app and run the AoT build
check https://github.com/Poky85/webpack-chunkhash-demo ?
@pavel-mxsf seems like it reflects the same hashing issue, any solution to fix it for angular-cli?
Already being discussed in #3311
Dupe of #3311
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.