fix: main branch

This commit is contained in:
2024-03-07 13:42:29 +00:00
parent 782feedae4
commit dbf2346176
6 changed files with 24 additions and 26 deletions

View File

@ -1,4 +1,8 @@
declare module "*.wasm" {
const value: string;
export default value;
}
const value: string;
export default value;
}
declare module "*.wasm?url" {
const value: string;
export default value;
}

View File

@ -5,7 +5,7 @@ import migrate from "./migrations";
import { debugLog } from "./debug";
// import wasm file directly, this needs to be copied from https://sqlite.org/download.html
import SqlitePath from "./sqlite3.wasm";
import SqlitePath from "./sqlite3.wasm?url";
export class SqliteRelay extends EventEmitter<RelayHandlerEvents> implements RelayHandler {
#sqlite?: Sqlite3Static;