import { defineConfig } from "vite"; import react from "@vitejs/plugin-react"; export default defineConfig(({ command }) => ({ // Relative base: frontgen places one artifact at any mount path and injects . base: "./", plugins: [react()], server: { port: 5173, open: true, }, }));