import { defineConfig } from 'vite'; // `host: true` so a phone on the same network can load the dev server (QR sideload). // `esnext` because the entry point uses top-level await, as the official templates do. export default defineConfig({ server: { host: true, port: 5173 }, build: { target: 'esnext' }, });