Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jul 11, 2024
Merged

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

merged 1 commit into from
Jul 11, 2024

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.
@ef4 ef4 added the Bug label Jul 5, 2024
@ef4 ef4 merged commit e8176ff into main Jul 11, 2024
26 checks passed
@ef4 ef4 deleted the prune-empty-modules branch July 11, 2024 21:52
@kategengler kategengler changed the title Don't publish empty modules [BUGFIX release] Don't publish empty modules Aug 6, 2024
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