diff --git a/flake.nix b/flake.nix index 1cc8ff4..78beadc 100644 --- a/flake.nix +++ b/flake.nix @@ -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 '';