Files
mcs-lose/frontend/vite.config.ts
2025-08-15 11:52:43 +02:00

19 lines
373 B
TypeScript

import { defineConfig } from "vite";
import tailwindcss from "@tailwindcss/vite";
export default defineConfig({
plugins: [tailwindcss()],
server: {
host: "0.0.0.0",
allowedHosts: ["lose.the1s.de"],
port: 8501,
https: true,
watch: { usePolling: true },
hmr: {
host: "lose.the1s.de",
port: 8501,
protocol: "ws",
},
},
});