mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-25 20:14:21 +01:00
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.
5 lines
88 B
Bash
Executable File
5 lines
88 B
Bash
Executable File
#!/bin/bash
|
|
|
|
wasm-pack build --no-pack --target nodejs
|
|
cp package.json pkg/package.json
|