diff --git a/proxy/internal/pki/build-wasm.sh b/proxy/internal/pki/build-wasm.sh index 1db6fe7..deb07b8 100755 --- a/proxy/internal/pki/build-wasm.sh +++ b/proxy/internal/pki/build-wasm.sh @@ -4,6 +4,6 @@ cd $(dirname $0) (cd clientwasm && GOOS=js GOARCH=wasm go build -ldflags="-extldflags=-s -w" -o ../pki.wasm .) -cp $(go env GOROOT)/misc/wasm/wasm_exec.js . +cp $(go env GOROOT)/*/wasm/wasm_exec.js . bzip2 -c9 < pki.wasm > pki.wasm.bz2 ls -l pki.wasm.bz2 wasm_exec.js