Closed
Description
🐛 Bug description
https://rustwasm.github.io/wasm-pack/book/commands/build.html#profile
The section of this book describes three flags: --dev
, --profiling
, and --release
, all of which result in this errored output:
$ wasm-pack build --release
error: Found argument '--release' which wasn't expected, or isn't valid in this context
USAGE:
wasm-pack build [FLAGS] [OPTIONS] [path]
For more information try --help
It looks like --debug
is the only flag that does anything currently - no flag seems to build for release by default.
🤔 Expected Behavior
The documentation matches the behavior of the tool.
👟 Steps to reproduce
Run wasm-pack
with each command and note the output.
🌍 Your environment
Include the relevant details of your environment.
wasm-pack version: 0.5.1
rustc version: rustc 1.31.0 (abe02cefd 2018-12-04)
Thanks for your work on this awesome tool!
Metadata
Metadata
Assignees
Labels
No labels