1import { defineConfig, mergeConfig } from 'vite';
2import { minwebide } from 'minwebide/vite';
4// DEPLOY_BASE is set by CI when building for GitHub Pages
5// (the site is served from /minwebide-demo/, not the domain root).
6export default defineConfig(mergeConfig(minwebide(), {
7 base: process.env.DEPLOY_BASE ?? '/',
8}));