docs: use `wasm-pack build` instead of `wasm-pack init`

The latter has been deprecated for some time.
master
Nick Fitzgerald 7 years ago
parent 8af40029a9
commit 212d7727dc
  1. 2
      docs/src/commands/pack-and-publish.md

@ -1,7 +1,7 @@
# pack and publish # pack and publish
The `publish` and `pack` commands interact with the pkg directory that's The `publish` and `pack` commands interact with the pkg directory that's
created when you run `wasm-pack init`. The `pack` command creates a tarball created when you run `wasm-pack build`. The `pack` command creates a tarball
from the pkg directory and the `publish` command creates a tarball from the from the pkg directory and the `publish` command creates a tarball from the
pkg directory __and__ publishes it to the NPM registry. pkg directory __and__ publishes it to the NPM registry.

Loading…
Cancel
Save