fix: make deployment use uptmized wasm builds
This commit is contained in:
parent
56f8e05ae0
commit
e942fce4b4
1 changed files with 1 additions and 0 deletions
|
|
@ -23,6 +23,7 @@
|
|||
buildPhase = ''
|
||||
export HOME=$TMPDIR
|
||||
cd cgol && wasm-pack build --release --target web && cd ..
|
||||
wasm-opt cgol/pkg/cgol_bg.wasm -o cgol/pkg/cgol_bg.wasm -O4 --enable-bulk-memory --enable-nontrapping-float-to-int --enable-sign-ext --low-memory-unused --converge
|
||||
npm ci
|
||||
npm run build
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue