mirror of
https://github.com/zadam/trilium.git
synced 2026-01-17 20:14:25 +01:00
chore(client): vite not reloading core module
This commit is contained in:
parent
a1c4a17d64
commit
7b436bdf70
@ -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'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user