Merge pull request #756 from gjungb/commands

fix(docs): fix broken link and typo for "Commands"
master
ashley williams 5 years ago committed by GitHub
commit d525db3c6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      docs/src/commands/index.md
  2. 4
      docs/src/commands/new.md

@ -5,12 +5,12 @@ a Rust-generated WebAssembly project.
- `new`: This command generates a new project for you using a template. [Learn more][new]
- `build`: This command builds a `pkg` directory for you with compiled wasm and generated JS. [Learn more][build]
- `pack` and `publish`: These command will create a tarball, and optionally publish it to a registry, such as npm. [Learn more][pack-pub]
- `pack` and `publish`: These commands will create a tarball, and optionally publish it to a registry, such as npm. [Learn more][pack-pub]
### Deprecated Commands
- `init`: This command has been deprecated in favor of `build`.
[build]: ./build.html
[new]: ./new.html
[build]: ./build.html
[pack-pub]: ./pack-and-publish.html

@ -40,8 +40,8 @@ The `wasm-pack new` command can be given an optional mode argument, e.g.:
wasm-pack new myproject --mode noinstall
```
The mode pass can be either "normal", "noinstall", or "force". "normal is passed by
degault.
The mode passed can be either "normal", "noinstall", or "force". "normal" is passed by
default.
`noinstall` means that wasm-pack should not attempt to install any underlying tools.
If a necessary tool cannot be found, the command will error.

Loading…
Cancel
Save