Rollup Version
latest
Operating System (or Browser)
all
Node Version (if applicable)
20
Link To Reproduction
https://github.com/wmertens/rollup-unstable-repro
Expected Behaviour
The chunk hashes for a build should be stable, even when running the build multiple times.
Actual Behaviour
However, unless you set maxParallelFileOps: 1, the hashes change between rebuilds, at least in Qwik which has a lot of dynamic imports.
See the instructions on the repro repo. I was not able to reproduce this on stackblitz, presumably due to virtual file system.
(shoutout to @genki who discovered this workaround)
Rollup Version
latest
Operating System (or Browser)
all
Node Version (if applicable)
20
Link To Reproduction
https://github.com/wmertens/rollup-unstable-repro
Expected Behaviour
The chunk hashes for a build should be stable, even when running the build multiple times.
Actual Behaviour
However, unless you set
maxParallelFileOps: 1, the hashes change between rebuilds, at least in Qwik which has a lot of dynamic imports.See the instructions on the repro repo. I was not able to reproduce this on stackblitz, presumably due to virtual file system.
(shoutout to @genki who discovered this workaround)