Files
thePlug/frontend/vite.config.ts
T
2026-05-07 09:21:45 +02:00

21 lines
399 B
TypeScript

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:3671",
changeOrigin: true,
ws: true,
rewrite: (path) => path.replace(/^\/api/, ""),
},
},
},
});