-
-
Notifications
You must be signed in to change notification settings - Fork 199
[0.21.0] shared js file content changes even if there is no code change #434
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
Comments
This stuff is very complex - so it's very possible. We should check into it - thanks for the reproducer! By the way, do you see a new hash EVERY time you build... even if you literally change NOTHING? Or do you at least need to change some content, but these 2 files are unchanged, and so should not have a new hash? Thanks! |
I may run the build process even if there is no js code change (say I only edit some css files or other non-js assets whatever). Ideally, I hope the Currently, the file content would change (due to file content changes in The generated codes still work fine though. The only inconvenience to me is that |
Maybe related to #361 (comment)? |
Fixed in #441! The issue was an internal detail of the "hack" that makes this work - a randomly-named file was created. This randomness caused the content/hash changed on |
…erryan) This PR was squashed before being merged into the master branch (closes #441). Discussion ---------- Appending the _tmp_shared contents via an earlier hook Fixes #435 and fixes #434 Commits ------- 42ec9ef Using a static, not random filename for the _tmp_shared entry c2ba1d6 updating shared-entry-contact-plugin code for emit fbf6121 removing non-existent method on this hook 5f9d2ee Appending the _tmp_shared contents via an earlier hook
Problem
The js file content of shared entry (usually named as
app.HASH.js
orvendor.HASH.js
) varies between builds even if there is no source code change.Reproduce
https://github.com/jfcherng/encore-shared-content-unstable
The text was updated successfully, but these errors were encountered: