-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Identical chunk hash names, different file contents #3341
Comments
@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. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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 is16.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
The text was updated successfully, but these errors were encountered: