Files
NewSzxcn-Email/apps/web/vite.config.ts
T

20 lines
380 B
TypeScript
Raw Normal View History

2026-06-14 01:07:48 +08:00
import path from "node:path"
import react from "@vitejs/plugin-react"
import { defineConfig } from "vite"
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
server: {
port: 5173,
proxy: {
"/api": "http://localhost:8080",
"/healthz": "http://localhost:8080",
},
},
})