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