From 286be2a2fe89927c1a7bb6855b3d001a70dd312d Mon Sep 17 00:00:00 2001 From: natrixaeria Date: Tue, 11 Jun 2019 23:40:24 +0200 Subject: Add workers --- webhogg/wasm/build | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'webhogg/wasm/build') diff --git a/webhogg/wasm/build b/webhogg/wasm/build index a0c4df1..e14f004 100755 --- a/webhogg/wasm/build +++ b/webhogg/wasm/build @@ -1,5 +1,7 @@ #!/bin/bash cargo build --target wasm32-unknown-unknown --release -wasm-bindgen target/wasm32-unknown-unknown/release/webhogg-wasm.wasm --out-dir bin/ --no-typescript --target no-modules --remove-producers-section --remove-name-section -wasm-opt -Oz bin/*.wasm -o bin/*.wasm +wasm-bindgen target/wasm32-unknown-unknown/release/webhogg_wasm.wasm --out-dir bin/ --no-typescript --target no-modules --remove-producers-section --remove-name-section +wasm-opt -Oz bin/webhogg_wasm_bg.wasm -o bin/webhogg-wasm.wasm +rm bin/webhogg_wasm_bg.wasm +mv bin/webhogg_wasm.js bin/webhogg-wasm.js -- cgit v1.2.3-54-g00ecf