import react from '@vitejs/plugin-react' import { defineConfig } from 'vite' // Relative base, same reasoning as the desktop console: the emitted asset refs // become "./assets/…", so the the server writes at placement // decides where they resolve, and one build serves any mount path. It is also // why the fonts live under src/ rather than public/ — Vite rewrites bundled // asset URLs to be relative, while a public/ file referenced as "/fonts/…" // stays absolute and 404s under a mount path. export default defineConfig({ plugins: [react()], base: './', server: { port: 5176 }, })