You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wasm-pack build subdir/ --out-dir pkg dumps the output in $PWD/subdir/pkg/.
🤔 Expected Behavior
Should output to $PWD/pkg, not the subdir. The help says:
-d, --out-dir <out_dir> Sets the output directory with a relative path. [default: pkg]
--out-name <out_name> Sets the output file names. Defaults to package name.
My understanding is that "relative" here means relative to the current working directory.
👟 Steps to reproduce
wasm-pack build subdir/ --out-dir pkg
🌍 Your environment
$ wasm-pack --version
wasm-pack 0.8.1
My use case here is working in a cargo workspace. I like to work in the top-level directory, and keep all of my build artifacts in the top-level target/ directory.
Thanks!
The text was updated successfully, but these errors were encountered:
🐛 Bug description
wasm-pack build subdir/ --out-dir pkg
dumps the output in$PWD/subdir/pkg/
.🤔 Expected Behavior
Should output to
$PWD/pkg
, not thesubdir
. The help says:My understanding is that "relative" here means relative to the current working directory.
👟 Steps to reproduce
wasm-pack build subdir/ --out-dir pkg
🌍 Your environment
My use case here is working in a cargo workspace. I like to work in the top-level directory, and keep all of my build artifacts in the top-level
target/
directory.Thanks!
The text was updated successfully, but these errors were encountered: