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