-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
Rollup Version
4.5.0
Operating System (or Browser)
playground
Node Version (if applicable)
No response
Link To Reproduction
Expected Behaviour
I would expect dynamic-1-{x}.js, dynamic-2-{x}.js, and shared-{x}.js to be merged in a single chunk.
Maybe there is a limitation that prevents these from being merged that I'm missing. The reproduction tries to replicate the issue reported in Vite at vitejs/vite#15050.
If react-test.js isn't imported in main.js, they get merged. Possibly a different issue, but in that case, if a side-effect is added to the memo function, these three chunks are also not merged. Repro. I think this will also could be an related issue from the reported Vite problem. It also seems possible for these to be merged.
Actual Behaviour
The chunks are below output.experimentalMinChunkSize but they aren't merged.
Reactions are currently unavailable