import { defineConfig } from 'vite'; import react from '@vitejs/plugin-react'; import tailwindcss from '@tailwindcss/vite'; export default defineConfig({ plugins: [tailwindcss(), react()], server: { proxy: { '/api': { target: 'http://localhost:8080', changeOrigin: true, }, }, }, build: { // Emit into the monorepo-root dist/client so the bundled core can serve it via Hono. outDir: '../../dist/client', emptyOutDir: true } });