You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the documentation, chunk file names are based on content hashes. I think this means that a project should have the same filenames no matter the absolute path of the project.
Actual Behaviour
The chunk file names change if you rename the directory of a project.
I created a repro where the same project is in a directory a and b. Rollup generates different filenames for the chunks. This is weird as I expect both projects to generate the same chunk files.
E.g. for me, it created a file called Bundle-692bf0ae.js in folder a and a file called Bundle-b8a1dd7d.js in folder b.
Thanks for looking!
The text was updated successfully, but these errors were encountered:
Rollup Version
2.78.1
Operating System (or Browser)
Mac OS
Node Version (if applicable)
No response
Link To Reproduction
https://github.com/wmassa/rollup-directory-hash-repro
Expected Behaviour
According to the documentation, chunk file names are based on content hashes. I think this means that a project should have the same filenames no matter the absolute path of the project.
Actual Behaviour
The chunk file names change if you rename the directory of a project.
I created a repro where the same project is in a directory
a
andb
. Rollup generates different filenames for the chunks. This is weird as I expect both projects to generate the same chunk files.E.g. for me, it created a file called
Bundle-692bf0ae.js
in foldera
and a file calledBundle-b8a1dd7d.js
in folderb
.Thanks for looking!
The text was updated successfully, but these errors were encountered: