Fix Bezier-rs web demos failing to run wasm-opt in CI
This commit is contained in:
parent
9eeefaad90
commit
4df780391c
|
|
@ -37,7 +37,7 @@ demangle-name-section = true
|
||||||
dwarf-debug-info = true
|
dwarf-debug-info = true
|
||||||
|
|
||||||
[package.metadata.wasm-pack.profile.release]
|
[package.metadata.wasm-pack.profile.release]
|
||||||
wasm-opt = ["-Oz"]
|
wasm-opt = ["-Oz", "--enable-bulk-memory"]
|
||||||
|
|
||||||
[package.metadata.wasm-pack.profile.release.wasm-bindgen]
|
[package.metadata.wasm-pack.profile.release.wasm-bindgen]
|
||||||
debug-js-glue = false
|
debug-js-glue = false
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/sh
|
#!/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'
|
echo 📁 Create output directory in 'website/other/dist'
|
||||||
cd website/other
|
cd website/other
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue