Skip to content

sub-optimal chunk optimization #7613

@IWANABETHATGUY

Description

@IWANABETHATGUY
  • As you can see, it is still sub-optimal. It still exports those named exports (but it is semantically correct, since we don't have a way to detect whether the symbol is referenced only by dynamic import, so for safety we preserve them all).

  • Even when dynamic imported modules are merged into a user-defined entry chunk (and the exports are used only in that chunk), the importee module still exposes unnecessary variables.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions