import { vitePlugin as remix } from "@remix-run/dev"; import { defineConfig } from "vite"; export default defineConfig({ plugins: [ remix({ future: { v3_fetcherPersist: true, v3_relativeSplatPath: true, v3_throwAbortReason: true, }, }), ], server: { port: 3000, proxy: { // Proxy API requests to backend '/api': { target: 'http://localhost:8000', changeOrigin: true, }, '/sse': { target: 'http://localhost:8000', changeOrigin: true, }, }, }, });