Skip to content

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