Files
mcs-lose/frontend/vite.config.ts

19 lines
374 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: "wss",
},
},
});