From a8da03cf01971a5f691cfcad56a5a3c0832637bc Mon Sep 17 00:00:00 2001 From: Fichtelcoder Date: Sat, 23 Oct 2021 11:22:10 +0200 Subject: [PATCH] Fix #1059. This is the correct way to pass extra arguments, such as features to cargo. --- docs/src/commands/build.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/commands/build.md b/docs/src/commands/build.md index 9f4bae4d..616fd24f 100644 --- a/docs/src/commands/build.md +++ b/docs/src/commands/build.md @@ -133,7 +133,7 @@ at the very end of your command, just as you would for `cargo build`. For example, to build the previous example using cargo's offline feature: ``` -wasm-pack build examples/js-hello-world --mode no-install --offline +wasm-pack build examples/js-hello-world --mode no-install -- --offline ```