chore(client): vite not reloading core module

This commit is contained in:
Elian Doran 2026-01-07 11:24:04 +02:00
parent a1c4a17d64
commit 7b436bdf70
No known key found for this signature in database

View File

@ -56,9 +56,14 @@ export default defineConfig(() => ({
cacheDir: '../../node_modules/.vite/apps/client',
base: "",
plugins,
server: {
watch: {
// Watch workspace packages for changes
ignored: ['!**/node_modules/@triliumnext/**']
}
},
optimizeDeps: {
exclude: ['@sqlite.org/sqlite-wasm'],
include: ['@triliumnext/core']
exclude: ['@sqlite.org/sqlite-wasm', '@triliumnext/core']
},
worker: {
format: 'es'