mirror of
https://git.um-react.app/um/um-react.git
synced 2025-11-28 03:23:02 +00:00
fix: added workaround for sql.js during vitest
This commit is contained in:
@@ -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
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user