fix: embed sqlite3.wasm in lib for production builds
This commit is contained in:
@ -80,9 +80,9 @@ globalThis.onmessage = async ev => {
|
||||
} else {
|
||||
relay = new InMemoryRelay();
|
||||
}
|
||||
const [dbPath, wasmPath] = msg.args as Array<string>;
|
||||
debugLog("StartInit", dbPath, wasmPath);
|
||||
await relay.init(dbPath, wasmPath);
|
||||
const [dbPath] = msg.args as Array<string>;
|
||||
debugLog("StartInit", dbPath);
|
||||
await relay.init(dbPath);
|
||||
reply(msg.id, true);
|
||||
});
|
||||
break;
|
||||
|
Reference in New Issue
Block a user