wasm-tool / parcel-plugin-wasm.rs

wasm-bindgen support for Parcel bundler
MIT License
66 stars 16 forks source link

Update build command to `wasm-pack build` #2

Closed danieledapo closed 6 years ago

danieledapo commented 6 years ago

A couple of days ago wasm-pack 0.5 was released and the init command was deprecated in favor of the new build command. I think that ideally this plugin should always use the build command with recent versions of wasm-pack. However if this plugin is intended to work with older versions of wasm-pack too we can always use init if build is not available.

I can work on a PR in the next few days if you find this worth it.

By the way, thanks for the project!

catsigma commented 6 years ago

@d-dorazio Thanks for the upcoming PR. I'll merge it.