import { defineConfig } from 'vite'; import react from '@vitejs/plugin-react'; // The Lune window inside the Mac app (desktop/): its own page, built next to the canvas, never served by the hub. export default defineConfig({ plugins: [react()], base: './', build: { outDir: 'dist-desktop', emptyOutDir: true, rollupOptions: { input: 'desktop.html' } }, });