Skip to content

Add build subcommand? #234

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

Closed
xtuc opened this issue Jul 27, 2018 · 1 comment
Closed

Add build subcommand? #234

xtuc opened this issue Jul 27, 2018 · 1 comment
Labels
question Further information is requested

Comments

@xtuc
Copy link
Member

xtuc commented Jul 27, 2018

Hi 👋

It seems that the only way to build the crate is to run wasm-pack init, but it also initialize the project.

Webpack plugin/loader would enable watching the code and rebuilding it if needed (probably incrementally?) in development. That's why I would suggest adding such a command.

An alternative would be to wrap wasm-pack in another project, consuming the API to expose the features I need (I just need to learn Rust first). What do you think?

EDIT:
How cool would it be to write the loader/plugin using wasm-bindgen?

@ashleygwilliams
Copy link
Member

hey @xtuc - we actually have a PR open for exactly this ;) #216 let me know if that doesn't work for you-

@ashleygwilliams ashleygwilliams added the question Further information is requested label Jul 27, 2018
@xtuc xtuc closed this as completed Jul 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants