From 2b8e092f7883a40f03ddfb1a6c7897ebf493b45b Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Fri, 3 Aug 2018 16:38:42 -0700 Subject: [PATCH] guide: Note that `wasm-pack` is preferred over using the `wasm-bindgen` CLI directly --- guide/src/reference/cli.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/guide/src/reference/cli.md b/guide/src/reference/cli.md index 0a870c63..6ec731d5 100644 --- a/guide/src/reference/cli.md +++ b/guide/src/reference/cli.md @@ -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 ```