-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
Rollup Version
4.5.1
Operating System (or Browser)
Playground
Node Version (if applicable)
NA
Link To Reproduction
Expected Behaviour
We expect only 3 chunks to be formed: main, dynamic-1 and dynamic-2. However many small extra chunks are generated.
Setting experimentalMinChunkSize does not merge the extra generated chunks.
Also in examples where experimentalMinChunkSize does work it tries to merge chunks that are manually specified using dynamic imports. Such dynamically imported chunks should not be merged.
So the behaviour we are looking for is:
- Small extra chunks should not be generated at all.
- If at all they are generated we should be able to merge them.
- Dynamically imported modules should never be merged.
Actual Behaviour
Many extra chunks are generated that are extremely small and also possible merges are not applied.
Reactions are currently unavailable