d
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
import { defineConfig } from 'vite';
|
||||
import preact from '@preact/preset-vite';
|
||||
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [preact()],
|
||||
server: {
|
||||
watch: {
|
||||
// Thêm thư mục ngoài src mà bạn muốn theo dõi
|
||||
usePolling: true, // Dùng polling để theo dõi thay đổi
|
||||
ignored: ['!**/node_modules/**'], // Loại bỏ các thư mục không cần theo dõi
|
||||
}
|
||||
},
|
||||
publicDir: 'static',
|
||||
});
|
||||
Reference in New Issue
Block a user