Terminate on unknown wasm-bindgen target #483
Labels
bug
Something isn't working
changelog - fix
PR attached
there's a PR open for this issue
user report
Milestone
🐛 Bug description
build works but then I found out that it is still a browser target.
To my surprise, the following works and defaults to browser target.
🤔 Expected Behavior
wasm-pack
fail right away showing the available targets and display unknown target supplied.👟 Steps to reproduce
Just
wasm-pack build --target=insert_here
.🌍 Your environment
Include the relevant details of your environment.
wasm-pack version: wasm-pack 0.5.1
rustc version: rustc 1.31.1 (b6c32da9b 2018-12-18)
The text was updated successfully, but these errors were encountered: