diff --git a/website/other/bezier-rs-demos/wasm/Cargo.toml b/website/other/bezier-rs-demos/wasm/Cargo.toml index 1d746e38ae..e3f5a29fd8 100644 --- a/website/other/bezier-rs-demos/wasm/Cargo.toml +++ b/website/other/bezier-rs-demos/wasm/Cargo.toml @@ -37,7 +37,7 @@ demangle-name-section = true dwarf-debug-info = true [package.metadata.wasm-pack.profile.release] -wasm-opt = ["-Oz"] +wasm-opt = ["-Oz", "--enable-bulk-memory"] [package.metadata.wasm-pack.profile.release.wasm-bindgen] debug-js-glue = false diff --git a/website/other/build.sh b/website/other/build.sh index 433369c185..86be2fcf0d 100644 --- a/website/other/build.sh +++ b/website/other/build.sh @@ -1,4 +1,5 @@ #!/bin/sh +set -e # Exit with nonzero exit code if any individual command fails throughout the script echo 📁 Create output directory in 'website/other/dist' cd website/other