Skip to content
New issue

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

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

Already on GitHub? # to your account

Empty export statement breaks imports transform #335

Closed
alangpierce opened this issue Nov 18, 2018 · 0 comments
Closed

Empty export statement breaks imports transform #335

alangpierce opened this issue Nov 18, 2018 · 0 comments
Assignees

Comments

@alangpierce
Copy link
Owner

This code breaks with the imports transform enabled:

export {};

Playground link

That's an export statement that's a no-op because it doesn't define any new exports, which is a pattern to mark a file as a module when it doesn't otherwise need any import or export statements.

@alangpierce alangpierce self-assigned this Nov 18, 2018
alangpierce added a commit that referenced this issue Nov 18, 2018
alangpierce added a commit that referenced this issue Nov 18, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant