Skip to content

Commit c3be198

Browse files
committed
remove fallback warning
1 parent 80a367b commit c3be198

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/core/src/database/sqlite-wasm-adapter.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ export class SqliteWasmAdapter implements SQLiteAdapter {
2323
const nodeModule = await import(modulePath);
2424
sqlite3InitModule = nodeModule.default;
2525
} catch (error) {
26-
// Fallback: Use standard module with createRequire workaround
27-
console.warn('Using fallback SQLite initialization for Node.js environment');
26+
// Fallback: Node-specific module not found, using standard browser build
2827
const standardModule = await import('@sqlite.org/sqlite-wasm');
2928
sqlite3InitModule = standardModule.default;
3029
}

0 commit comments

Comments
 (0)