import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' // 빌드 산출물 → backend static 번들(단일 jar). dev 프록시는 signage backend 8019. export default defineConfig({ plugins: [react()], server: { port: 3016, proxy: { '/api': { target: 'http://localhost:8019', changeOrigin: true, }, }, }, build: { outDir: '../backend/src/main/resources/static', emptyOutDir: true, }, })