import { defineConfig } from "vite"; import react from "@vitejs/plugin-react"; // 100% local. No telemetry, no network egress of trace content. // The fixture analysis is served as a static asset from /public. export default defineConfig({ plugins: [react()], server: { host: "127.0.0.1", port: 5173, strictPort: false, // Dev mode proxies the engine API to the local server (server/app.py:8765), // so /api/sessions, /api/analyze, /api/chat work the same in dev and prod. proxy: { "/api": "http://127.0.0.1:8765" }, }, build: { outDir: "dist", sourcemap: false }, });