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
preserveEntrySignatures: exports-only #3820
Labels
Comments
Sounds sensible and could be a good default for the next major version. Thus we could also avoid the ugly warning you get when an entry point has no exports. |
9 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature Use Case
preserveEntrySignatures
is a really nice API for selecting when facades are really needed (and it turns out not so much!).But turning on
'allow-extension'
might still cause issues for some facades where the exact names might be needed.Feature Proposal
The proposal is for an
exports-only
setting, which would effectively follow'strict'
for all entry modules that have exports, but set it to'allow-extension'
for all entry modules that have any exports.This way the top-level "exportless" entry point always gets collapsed, but we avoid risk for other types of chunks.
The text was updated successfully, but these errors were encountered: