imeeting/frontend/vite.config.ts

23 lines
497 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: 5174,
proxy: {
"/auth": "http://localhost:8081",
"/sys": "http://localhost:8081",
"/api": "http://localhost:8081"
}
}
});