-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Why is it that when the project content is not changed, many files are modified after each build? #4016
Comments
Because they need to be fingerprinted to allow immutable caching. Even if a single character in a file is changed, the hash of all files that depend on that file will change. |
but i didn`t change any file。but when repeat build this project , the resource has changed. |
Sorry. Did you rename or move any file? Can you share your repo or create some dummy one to show the example? Can you share those two metadata files? |
Describe the bug
Why is it that when the project content is not changed, many files are modified after each build?

like app.[hash].js chunk.[hash].js metadata.[hash].js
like this
Reproduction
...
Expected behavior
can don
t change that files after build, when we did
nt change any files in the project.System Info
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: