Skip to content

[Feature Request]: remove unnecessary re-export module #4904

@sapphi-red

Description

@sapphi-red

What problem does this feature solve?

In this example, three chunks (entry.js, foo-DC2v_zmv.js, foo-CM5cnA2r.js) are generated.
REPL
But foo-CM5cnA2r.js just re-exports everything from foo-DC2v_zmv.js. In this case, all import to foo-CM5cnA2r.js can be replaced with foo-DC2v_zmv.js. I guess we can also take preserveEntrySignatures into consideration here.

What does the proposed API look like?

Not an API change

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions