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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow passing --no-modules-global to wasm-bindgen #729

Open
RReverser opened this issue Oct 21, 2019 · 0 comments 路 May be fixed by #1070
Open

Allow passing --no-modules-global to wasm-bindgen #729

RReverser opened this issue Oct 21, 2019 · 0 comments 路 May be fixed by #1070

Comments

@RReverser
Copy link
Member

馃挕 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.
@fosskers fosskers linked a pull request Oct 20, 2021 that will close this issue
3 tasks
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 a pull request may close this issue.

1 participant