imeeting/frontend/vite.config.ts

23 lines
497 B
TypeScript
Raw Normal View History

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
2026-03-17 07:31:09 +00:00
import { fileURLToPath, URL } from "node:url";
export default defineConfig({
plugins: [react()],
2026-03-17 07:31:09 +00:00
resolve: {
alias: {
"@": fileURLToPath(new URL("./src", import.meta.url))
}
},
build: {
chunkSizeWarningLimit: 700
},
server: {
port: 5174,
proxy: {
"/auth": "http://localhost:8081",
2026-03-17 07:31:09 +00:00
"/sys": "http://localhost:8081",
"/api": "http://localhost:8081"
}
}
});