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 option to specify environment variables #137

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jrvidal
Copy link

@jrvidal jrvidal commented Jul 29, 2022

Some aspects of the post-compilation phase of wasm-bindgen can be configured through environment variables. There's really no way to control this from outside this plugin if you have separate crates with different settings.

Here we add an env option to pass environment variables to the wasm-pack execution.

Closes #147

@ChocolateLoverRaj
Copy link

@jrvidal I literally wrote almost the same code as you and was about to make a PR until I found this. Can you please mark this PR as closes #147? Hopefully this gets merged soon.

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.

Add option to set environmental variables for cargo commands
2 participants