import { defineConfig } from 'vite';

// Dev serves at '/', the production build is rooted at '/sandoniette/' so it can
// live at partly.party/sandoniette/. Keep in sync with the deploy web root.
export default defineConfig(({ command }) => ({
  base: command === 'build' ? '/sandoniette/' : '/',
}));
