diff --git a/vitest.config.ts b/vitest.config.ts index 043a3cf..e7e0842 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -12,6 +12,10 @@ export default defineConfig({ replacement: 'src/$1', }, ], + // workaround: sql.js is not ESModule friendly, yet... + deps: { + inline: ['sql.js'], + }, api: { port: 5174, // vite port + 1 },