Skip to content

Commit

Permalink
Make sure the build doesn't continue if wasm-pack fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-F-Bryan committed Dec 1, 2022
1 parent 07b61f2 commit cebbd7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"access": "public"
},
"scripts": {
"build": "wasm-pack build --release --target web; wasm-opt pkg/wasmer_wasi_js_bg.wasm -O2 -o pkg/wasmer_wasi_js_bg.wasm; wasm-strip pkg/wasmer_wasi_js_bg.wasm; rollup -c --environment BUILD:production",
"build": "wasm-pack build --release --target web && wasm-opt pkg/wasmer_wasi_js_bg.wasm -O2 -o pkg/wasmer_wasi_js_bg.wasm && wasm-strip pkg/wasmer_wasi_js_bg.wasm && rollup -c --environment BUILD:production",
"dev": "rollup -c -w",
"lint": "",
"test": "jest -c jest.config.js",
Expand Down

0 comments on commit cebbd7b

Please sign in to comment.