Skip to content

wasm2js: Mangle import names for JS #2267

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

Merged
merged 5 commits into from
Jul 28, 2019
Merged

wasm2js: Mangle import names for JS #2267

merged 5 commits into from
Jul 28, 2019

Conversation

kripken
Copy link
Member

@kripken kripken commented Jul 27, 2019

This fixes names that would be invalid in JS, like a.b. Turns out the Go compiler emits wasm with such imports.

Also add some docs on how to use wasm2js.

Fixes #2263

@kripken kripken merged commit 6ac5fa7 into master Jul 28, 2019
@kripken kripken deleted the goimport branch July 28, 2019 17:57
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.

wasm2js usage or usecase unclear
2 participants