MEGA-WEBSITE/app/vite.config.ts
David 702f5956c9 Add project progress modal, Why Mega scroll panel and three new projects
Projects can now be opened from the deck: a modal shows live progress per
section, the services on site and a plan map drawn from the site model.

- ProjectModal with per-section progress and site maps (src/data/sitemaps),
  generated by app/scripts/build-sitemaps.py
- progress.json holds the per-project section states
- Why Mega becomes a scroll-driven list with a sticky panel that follows the
  point in the middle of the screen, plus new pillar photographs
- PRJ-06 Munyaka, PRJ-07 Cedar Gate and PRJ-08 The Hills join the deck, so
  the track length and the site count now follow the number of projects
- Projects moves above Why Mega and the section labels renumber
- Contact section rebuilt on an asymmetric grid
- Intro counters keep their thousands separator and no longer wrap
- Dev server listens on the LAN so a phone on the same Wi-Fi can open the site
2026-11-03 19:26:10 +02:00

12 lines
445 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import path from 'node:path'
export default defineConfig({
plugins: [react()],
resolve: { alias: { '@': path.resolve(__dirname, 'src') } },
// Expose the dev server on the LAN so phones/tablets on the same Wi-Fi can
// view the site at http://<your-ip>:5173 without extra flags.
server: { host: true, port: 5173 },
preview: { host: true, port: 5173 },
})