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.
A couple of days ago
wasm-pack
0.5 was released and theinit
command was deprecated in favor of the newbuild
command. I think that ideally this plugin should always use thebuild
command with recent versions ofwasm-pack
. However if this plugin is intended to work with older versions ofwasm-pack
too we can always useinit
ifbuild
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!