$ wasm-pack build --help
...
Usage: wasm-pack build [OPTIONS] [PATH] [EXTRA_OPTIONS]...
Arguments:
[PATH] The path to the Rust crate. If not set, searches up the path from the current directory
[EXTRA_OPTIONS]... List of extra options to pass to `cargo build`