import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'

// https://vite.dev/config/
export default defineConfig({
  plugins: [react()],
  // host: true binds 0.0.0.0 so the dev server is reachable from another
  // machine on the LAN, not just localhost. Dev-only - production is the built
  // dist/ served by the backend on :8000.
  server: { host: true },
})
