OpenACP/ui/vite.config.ts
Leo Agent 4f4c159347 feat(ui): scaffold React + Vite dashboard with layout, theme, API client, SSE hook, and shared components
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Entire-Checkpoint: 770afb5e0f45
2026-03-23 11:13:36 +07:00

18 lines
360 B
TypeScript

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import tailwindcss from "@tailwindcss/vite";
export default defineConfig({
plugins: [react(), tailwindcss()],
server: {
port: 5173,
proxy: {
"/api": { target: "http://localhost:21420" },
},
},
build: {
outDir: "dist",
emptyOutDir: true,
},
});