Skip to content

Commit 95b346d

Browse files
committed
chore(examples): watch files and remove alias
Signed-off-by: braks <[email protected]>
1 parent 80a7049 commit 95b346d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

examples/vite/vite.config.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ import svgLoader from 'vite-svg-loader'
88
export default defineConfig({
99
resolve: {
1010
dedupe: ['vue'],
11-
alias: {
12-
'~': resolve('../../packages/core/src'),
13-
},
1411
},
1512
plugins: [
1613
vue({
@@ -23,6 +20,11 @@ export default defineConfig({
2320
dts: resolve('src/auto-imports.d.ts'),
2421
}),
2522
],
23+
server: {
24+
watch: {
25+
ignored: ['!**/node_modules/@vue-flow/core/**'],
26+
},
27+
},
2628
optimizeDeps: {
2729
exclude: ['@vue-flow/core'],
2830
},

0 commit comments

Comments
 (0)