mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-03 01:32:17 +00:00
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.
This commit is contained in:
parent
2ce57f6d34
commit
40f517b03f
4 changed files with 34 additions and 1 deletions
|
@ -2,4 +2,4 @@ import { Database } from 'limbo-wasm';
|
|||
|
||||
const db = new Database('hello.db');
|
||||
|
||||
db.exec("SELECT 'hello, world' AS message");
|
||||
console.log(db.exec("SELECT 'hello, world' AS message"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue