fix: added workaround for sql.js during vitest
This commit is contained in:
parent
473f310aca
commit
37af011d6a
@ -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
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user