unis_crm/frontend1/vite.config.ts

22 lines
416 B
TypeScript
Raw Normal View History

2026-03-26 09:29:55 +00:00
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import { fileURLToPath, URL } from "node:url";
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
"@": fileURLToPath(new URL("./src", import.meta.url))
}
},
build: {
chunkSizeWarningLimit: 700
},
server: {
port: 5173,
proxy: {
"/sys": "http://localhost:8080"
}
}
});