Skip to content

[BUGFIX release] Don't publish empty modules#20715

Merged
ef4 merged 1 commit intomainfrom
prune-empty-modules
Jul 11, 2024
Merged

[BUGFIX release] Don't publish empty modules#20715
ef4 merged 1 commit intomainfrom
prune-empty-modules

Conversation

@ef4
Copy link
Contributor

@ef4 ef4 commented Jul 5, 2024

The ES modules build (which is only used by embroider, not classic builds) includes several empty modules. They're type-only, and result in empty files after transpiling typescript.

This isn't necessarily wrong but it's unnecessary and it can trigger bugs in systems that are trying to use the presence of import/export to detect ESM format.

The ES modules build (which is only used by embroider, not classic builds) includes several empty modules. They're type-only, and result in empty files after transpiling typescript.

This isn't necessarily wrong but it's unnecessary and it can trigger bugs in systems that are trying to use the presence of import/export to detect ESM format.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant