deno-sqlite icon indicating copy to clipboard operation
deno-sqlite copied to clipboard

Simple support for custom WASM builds of SQLite

Open fabiospampinato opened this issue 2 years ago • 1 comments

It'd be awesome if it there were like a few steps, documented somewhere, that one could follow to replace the wasm build of sqlite that this package ships with with a custom one. It looks like that should be possible, but it doesn't seem obvious what exact the steps should be.

It'd be interesting also if this package exported a sort of "bring your own wasm" implementation, where you give the library the Uint8Array containing sqlite yourself, so that custom builds can be used without forking this package.

fabiospampinato avatar Aug 21 '23 19:08 fabiospampinato

I think the browser version also does something very similar using an import map. I think you could remap the existing WASM module to a different one, to get a similar effect.

dyedgreen avatar Aug 25 '23 11:08 dyedgreen