This is the unpublished documentation of wasm-pack, the published documentation is available on the main Rust and WebAssembly documentation site . Features documented here may not be available in released versions of wasm-pack.

wasm-pack init (DEPRECATED)

This command has been deprecated in favor of build, which does the same thing, but is a much more representative name for the command. Read the docs for build.