Fix Bezier-rs web demos failing to run wasm-opt in CI

This commit is contained in:
Keavon Chambers 2024-10-27 15:06:22 -07:00
parent 9eeefaad90
commit 4df780391c
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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