From 35bd2bac12459e3e7c6ce98567a1a044dc6c543a Mon Sep 17 00:00:00 2001 From: Markus Stange Date: Thu, 2 Dec 2021 14:15:19 -0500 Subject: [PATCH] Replace two mentions of `wasm-pack init` with `wasm-pack build` in the docs. --- docs/src/commands/build.md | 2 +- .../tutorials/npm-browser-packages/packaging-and-publishing.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/commands/build.md b/docs/src/commands/build.md index 9f4bae4..8a09d16 100644 --- a/docs/src/commands/build.md +++ b/docs/src/commands/build.md @@ -122,7 +122,7 @@ wasm-pack build examples/js-hello-world --mode no-install | Option | Description | |---------------|------------------------------------------------------------------------------------------| -| `no-install` | `wasm-pack init` implicitly and create wasm binding without installing `wasm-bindgen`. | +| `no-install` | `wasm-pack build` implicitly and create wasm binding without installing `wasm-bindgen`. | | `normal` | do all the stuffs of `no-install` with installed `wasm-bindgen`. | ## Extra options diff --git a/docs/src/tutorials/npm-browser-packages/packaging-and-publishing.md b/docs/src/tutorials/npm-browser-packages/packaging-and-publishing.md index 4824295..e94b109 100644 --- a/docs/src/tutorials/npm-browser-packages/packaging-and-publishing.md +++ b/docs/src/tutorials/npm-browser-packages/packaging-and-publishing.md @@ -7,7 +7,7 @@ command: $ wasm-pack build --scope MYSCOPE ``` -where `MYSCOPE` is your npm username. Normally you could just type `wasm-pack init` but since +where `MYSCOPE` is your npm username. Normally you could just type `wasm-pack build` but since other people are doing this tutorial as well we don't want conflicts with the `wasm-add` package name! This command when run does a few things: