This is the correct way to pass extra arguments, such as features to cargo.
master
Fichtelcoder 4 years ago committed by GitHub
parent ae10c23cc1
commit a8da03cf01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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
```
<hr style="font-size: 1.5em; margin-top: 2.5em"/>

Loading…
Cancel
Save