import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import tailwindcss from '@tailwindcss/vite' export default defineConfig({ plugins: [react(), tailwindcss()], server: { port: 5317, proxy: { // NEGO_AGENT 서버 (:53117) — 데모는 항상 프록시 경유(/api)로 호출한다 '/api': { target: 'http://127.0.0.1:53117', changeOrigin: true, rewrite: (path) => path.replace(/^\/api/, ''), }, }, }, })