Files
login/vite.config.ts
zeekay 96dc04660c rewrite: Next.js → Vite 8 SPA + hanzoai/spa
Replace the Next.js 15 app with a Vite 8 + React 19 SPA served by
ghcr.io/hanzoai/spa. Routing via wouter. IAM proxy routes moved into the
browser — login/signup/forgot call lux.id directly (src/lib/iam.ts) with
OAuth authorize-redirect fallback for CORS-restricted origins.

Pure CSS (Basel Grotesk) matches the lux.cloud dark theme. All Next.js
artifacts (app/, next.config, tailwind, postcss, pnpm-lock) removed.
2026-04-18 23:59:50 -07:00

16 lines
268 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
build: {
outDir: 'dist',
emptyOutDir: true,
target: 'es2022',
},
server: {
port: 3000,
host: '0.0.0.0',
},
})