fix: added workaround for sql.js during vitest
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
dec7f86115
commit
e956fb60ad
@ -12,6 +12,10 @@ export default defineConfig({
|
|||||||
replacement: 'src/$1',
|
replacement: 'src/$1',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
// workaround: sql.js is not ESModule friendly, yet...
|
||||||
|
deps: {
|
||||||
|
inline: ['sql.js'],
|
||||||
|
},
|
||||||
api: {
|
api: {
|
||||||
port: 5174, // vite port + 1
|
port: 5174, // vite port + 1
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user