This commit is contained in:
2025-05-27 14:24:58 +07:00
parent 0c0bf4e127
commit 170122ad32
115 changed files with 1 additions and 1 deletions

View File

@@ -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',
});