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
{{ message }}
Repository navigation
[Bug]: Page loads fail with "Chunk is from another build" after a module shared by the entry and an async chunk gains an export (2.3.1) #16542
Actual: after appending export const added = 1 to src/format.js and reloading, the page is blank: GET /main.<hash>.hot-update.json 404, then Uncaught Error: Chunk is from another build, and no update leads to it. A new tab fails the same way, and so does every later load.
It needs the added export and the module shared by the entry and the chunk: a comment edit, or format.js imported only from chunk.js, works. Rsbuild 2.3.1 shows the same (with output.module, a 404 on index.<hash>.hot-update.json.mjs).
The error comes from the chunk version check added in #16360. Possibly related: #16315 (tracking: cross-build version consistency).
Activity