unis_crm/frontend1/vite.config.ts

22 lines
416 B
TypeScript

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"
}
}
});