import { defineConfig } from 'vite'; import react from '@vitejs/plugin-react'; import tailwindcss from '@tailwindcss/vite'; // Relative base: asset refs become "./assets/…", so the the server // writes at placement decides where they resolve. One build serves any mount // path. Do NOT reintroduce a build-time base — the artifact is promoted between // environments unchanged. export default defineConfig({ plugins: [react(), tailwindcss()], base: './', server: { port: 5175 }, });