This commit is contained in:
2025-04-29 11:36:07 +07:00
commit b26fc7d61a
79 changed files with 13893 additions and 0 deletions

14
vite.config.ts Normal file
View File

@@ -0,0 +1,14 @@
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
}
},
});