From 1b844c903c6570e30afc21201fbbb8a0ffbdfaac Mon Sep 17 00:00:00 2001 From: Kelly Thomas Kline Date: Sat, 28 Sep 2019 17:38:02 -0700 Subject: [PATCH] Update reference to cargo's `--offline` feature --- docs/src/commands/build.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/commands/build.md b/docs/src/commands/build.md index 247ac716..fa9b7dd1 100644 --- a/docs/src/commands/build.md +++ b/docs/src/commands/build.md @@ -130,10 +130,10 @@ wasm-pack build examples/js-hello-world --mode no-install The `build` command can pass extra options straight to `cargo build` even if they are not supported in wasm-pack. To use them you should add standalone `--` argument at the very end of your command, and all the arguments you want to pass to cargo should go after. -For example to build previous example using unstable cargo offline feature: +For example, to build the previous example using cargo's offline feature: ``` -wasm-pack build examples/js-hello-world --mode no-install -- -Z offline +wasm-pack build examples/js-hello-world --mode no-install -- --offline ```