1 #!/usr/bin/env bash 2 wasm-pack build --target web 3 cp pkg/wasm.js pkg/wasm_bg.wasm ../static/pkg/