We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
--no-modules-global
wasm-bindgen supports customisation of global variable generated in --target no-modules mode via --no-modules-global VAR option.
wasm-bindgen
--target no-modules
--no-modules-global VAR
Currently there is no way to pass this option from wasm-pack side. I propose adding support in form of either:
wasm-pack
--target no-modules=name
--target no-modules --no-modules-global name
--target no-modules --use-crate-name
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
💡 Feature description
wasm-bindgen
supports customisation of global variable generated in--target no-modules
mode via--no-modules-global VAR
option.Currently there is no way to pass this option from
wasm-pack
side. I propose adding support in form of either:--target no-modules=name
--target no-modules --no-modules-global name
- this feels a bit more verbose.--target no-modules --use-crate-name
- in this case, just pass crate name to wasm-bindgen.The text was updated successfully, but these errors were encountered: