Skip to content

Commit 365813e

Browse files
committed
Add doc for --skip-build
1 parent 09046aa commit 365813e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/init.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,15 @@ The exact meaning of this flag may evolve as the platform matures.
5858

5959
[npm-scope-documentation]: https://docs.npmjs.com/misc/scope
6060
[cargo-profile-sections-documentation]: https://doc.rust-lang.org/cargo/reference/manifest.html#the-profile-sections
61+
62+
## Skipping build
63+
64+
The init command accepts an optional `--skip-build` argument.
65+
66+
This will deactivate those steps:
67+
- installing wasm target (via cargo)
68+
- compiling the code to wasm
69+
- installing wasm-bindgen (via rustup)
70+
- running wasm-bindgen on the built wasm
71+
72+
Basically it will remains only the steps that update the metadata of `package.json`.

0 commit comments

Comments
 (0)