guide: Note that wasm-pack is preferred over using the wasm-bindgen CLI directly

This commit is contained in:
Nick Fitzgerald 2018-08-03 16:38:42 -07:00 committed by Alex Crichton
parent 9b87e0c0b0
commit 2b8e092f78

View File

@ -4,6 +4,11 @@ The `wasm-bindgen` command line tool has a number of options available to it to
tweak the JavaScript that is generated. The most up-to-date set of flags can
always be listed via `wasm-bindgen --help`.
> Note: usually, one should use a [`wasm-pack`-based workflow][wasm-pack] rather
> than running the `wasm-bindgen` command line tool by hand.
[wasm-pack]: https://github.com/rustwasm/wasm-pack
## Usage
```