fix: added workaround for sql.js during vitest
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
鲁树人 2023-06-11 22:42:19 +01:00
parent dec7f86115
commit e956fb60ad

View File

@ -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
},