Every time I build, I get a new version of docs/js/test-bundle-min.js. It seems to be caused by @rollup/plugin-multi-entry finding finding its inputs non-deterministically.
Instead of supplying a glob pattern for input, explicitly run glob and provide a sorted array. docs/js/test-bundle-min.js no longer changes unless the source code changes.
I'm not quite sure how to test this - I ran npm run build:notidy then npm run test:web and it seemed to work the same as before.
Every time I build, I get a new version of
docs/js/test-bundle-min.js
. It seems to be caused by@rollup/plugin-multi-entry
finding finding its inputs non-deterministically.Instead of supplying a glob pattern for
input
, explicitly run glob and provide a sorted array.docs/js/test-bundle-min.js
no longer changes unless the source code changes.I'm not quite sure how to test this - I ran
npm run build:notidy
thennpm run test:web
and it seemed to work the same as before.