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

fix: namespaces without exported name stops build #4906

Closed
wants to merge 1 commit into from

Conversation

Tanimodori
Copy link

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

List any relevant issue numbers:

resolves #4905

Description

Remove the assertion that namespaces must have an exported name. Fix #4905 .

@lukastaegert
Copy link
Member

While this fixes the bug at hand, the deeper issue is that then, modules with syntheticNamedExports will not have their synthetic named exports if dynamically imported, which is a problem for CommonJS. I created #4913 to address the underlying issue.

@rollup-bot
Copy link
Collaborator

This issue has been resolved via #4913 as part of rollup@3.20.0. You can test it via npm install rollup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants