import { defineConfig } from "vite"; // `base` is the public path the built assets are served from. // - local dev / root hosting: "/" (default) // - hosted under a path prefix: "/festifun/" via FESTIVAL4D_BASE // Pair with VITE_API_BASE (see src/state.js) so API + media requests use the same prefix. export default defineConfig({ base: process.env.FESTIVAL4D_BASE || "/", });