limbo/bindings/wasm/scripts/build
Pekka Enberg 40f517b03f Fix Wasm packaging
The `wasm-pack` too has a known bug where it forgets to add snippets to
`package.json`:

https://github.com/rustwasm/wasm-pack/issues/1206

Let's fix that with some bash magic.
2024-11-13 11:28:22 +02:00

4 lines
88 B
Bash
Executable file

#!/bin/bash
wasm-pack build --no-pack --target nodejs
cp package.json pkg/package.json