feat: add templates/games support with subpath routing and Docker build integration

This commit is contained in:
Plena Finance Dev
2026-07-09 13:09:22 +05:30
parent 65fdc108a8
commit b842bc678d
12 changed files with 342 additions and 0 deletions

21
games/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()],
}));