Files
ContainerFlow/vite.config.ts
T

24 lines
479 B
TypeScript
Raw Normal View History

2026-03-22 09:53:08 +00:00
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import tailwindcss from "@tailwindcss/vite";
export default defineConfig({
plugins: [react(), tailwindcss()],
root: "src/client",
build: {
outDir: "../../dist",
emptyOutDir: true,
},
server: {
2026-04-30 04:05:03 +00:00
port: 9420,
host: "0.0.0.0",
2026-03-22 09:53:08 +00:00
proxy: {
"/api": "http://localhost:9470",
"/ws": {
target: "http://localhost:9470",
ws: true,
},
},
},
});