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

Support lazy global and function exports #1371

Merged
merged 2 commits into from
Jul 2, 2020
Merged

Support lazy global and function exports #1371

merged 2 commits into from
Jul 2, 2020

Conversation

dcodeIO
Copy link
Member

@dcodeIO dcodeIO commented Jul 2, 2020

Fixes a code generation problem with globals that are both a module export and declared @lazy, as reported by @MaxGraey on Discord, by extending the concept a bit to explicitly support annotating global and function exports as lazy (only yielding a module export if referenced from other code, and otherwise omitting).

  • I've read the contributing guidelines

@dcodeIO dcodeIO requested a review from MaxGraey July 2, 2020 15:47
@dcodeIO dcodeIO merged commit af3b489 into master Jul 2, 2020
@github-actions
Copy link

github-actions bot commented Jul 3, 2020

🎉 This PR is included in version 0.13.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@dcodeIO dcodeIO deleted the lazy-exports branch July 16, 2020 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants