We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--target-dir
Run wasm-pack with --target-dir extra-options
wasm-pack build frontend --target web --no-typescript --dev -- --target-dir target/frontend
Raise an error:
error: failed to read `/home/dev/Projects/maple/target/wasm32-unknown-unknown/debug/frontend.wasm` Caused by: 0: failed to read `/home/dev/Projects/maple/target/wasm32-unknown-unknown/debug/frontend.wasm` 1: No such file or directory (os error 2) Error: Running the wasm-bindgen CLI Caused by: failed to execute `wasm-bindgen`: exited with exit status: 1 full command: "/home/dev/.cargo/bin/wasm-bindgen" "/home/dev/Projects/maple/target/wasm32-unknown-unknown/debug/frontend.wasm" "--out-dir" "frontend/pkg" "--no-typescript" "--target" "web" "--debug"
Include the relevant details of your environment. wasm-pack version: 0.10.1 rustc version: 1.58.0-nightly (514b38779 2021-10-22)
The text was updated successfully, but these errors were encountered:
fix(rustwasm#1076): --target-dir as extra option is now considered …
fad386a
…as expected
84124ee
Merge pull request #1082 from sassman/fix/target-path-as-extra-args-i…
9f909db
…ssue-1076 fix(#1076): `--target-dir` as extra option is now considered as expected
Fixed in #1082 and released in v0.11.0.
Sorry, something went wrong.
No branches or pull requests
🐛 Bug description
Run wasm-pack with
--target-dir
extra-optionsRaise an error:
🌍 Your environment
Include the relevant details of your environment.
wasm-pack version: 0.10.1
rustc version: 1.58.0-nightly (514b38779 2021-10-22)
The text was updated successfully, but these errors were encountered: