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

Add documentation for importing export default #2403

Merged
merged 1 commit into from
Jan 4, 2021

Conversation

codingkoi
Copy link
Contributor

Added some documentation to the js_name page about using it to import
JavaScript modules that use export default.

I couldn't find this in the documentation, and only found out about it by finding a closed issue about it. I'm not sure if this is the best place for it. Maybe it could use its own page? It seems like a common enough pattern in JavaScript modules that calling it out seemed like it would be helpful. It certainly would have saved me some time.

Added some documentation to the `js_name` page about using it to import
JavaScript modules that use `export default`.
@alexcrichton alexcrichton merged commit b79f5b2 into rustwasm:master Jan 4, 2021
@alexcrichton
Copy link
Contributor

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants