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

Allow passing extra command-line flags to cargo #455

Closed
RReverser opened this issue Nov 29, 2018 · 3 comments · Fixed by #461
Closed

Allow passing extra command-line flags to cargo #455

RReverser opened this issue Nov 29, 2018 · 3 comments · Fixed by #461

Comments

@RReverser
Copy link
Member

💡 Feature description

I'm often building my packages on CI with --locked / --frozen after the dependencies have been downloaded.

I'd like to do the same with wasm-pack but currently there is no way to pass extra args to underlying cargo command.

💻 Basic example

I think it would make sense to be able to pass extra arbitrary args after -- as many other wrappers do, so that one could run:

$ wasm-pack build wasm-folder -- --frozen
@ibaryshnikov
Copy link
Member

I would like to use it too

@ashleygwilliams
Copy link
Member

i'm amenable to this for sure and once i get 0.6.0 out the door we can plan this for the next release!

@ashleygwilliams
Copy link
Member

thanks to an unforeseen issue with the release last night which gave us some time to think on design, we'll be able to get this into 0.6.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants