import vue from "@vitejs/plugin-vue"; import { defineConfig } from "vite"; export default defineConfig({ plugins: [vue()], build: { chunkSizeWarningLimit: 3000, }, server: { port: 5173, proxy: { "/api": { target: "http://127.0.0.1:3871", changeOrigin: true, ws: true, rewrite: (path) => path.replace(/^\/api/, ""), }, }, }, });