Initial commit of template

This commit is contained in:
Antigravity
2026-07-16 14:03:58 +05:30
commit 2c0eb2fcc3
9 changed files with 323 additions and 0 deletions

21
vite.config.js Normal file
View File

@@ -0,0 +1,21 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react-swc";
export default defineConfig(({ mode }) => ({
base: "/games/",
server: {
host: "0.0.0.0",
port: 3000,
allowedHosts: true,
hmr: {
overlay: false,
timeout: 15000,
},
watch: {
usePolling: true,
interval: 500,
binaryInterval: 500,
},
},
plugins: [react()],
}));