mirror of
https://git.unlock-music.dev/um/um-react.git
synced 2024-11-23 22:42:16 +00:00
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',
|
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