-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
My app has multiple entry points (that are built into separate independent bundles) that share the common library.
If one of the entry points uses some exports from that library all the bundles will get such export persisted even if it's not used by them.
Example:
- the library defines 3 exports A, B, C
- entry1 uses all 3 of them, all 3 are not shaken in the bundle1
- entry2 only uses C, but still all 3 are present in the bundle2
Demo repo: https://github.com/emirotin/common-shake-issue
Metadata
Metadata
Assignees
Labels
No labels