Repository Public
1import react from "@vitejs/plugin-react"2import { defineConfig } from "vite"34export default defineConfig({5 root: "web",6 plugins: [react()],7 build: { outDir: "../dist/web", emptyOutDir: true, target: "es2022", sourcemap: false },8 server: { port: 5183, proxy: { "/api": "http://localhost:8721", "/ws": { target: "ws://localhost:8721", ws: true } } },9})10