mirror of
https://github.com/luxfi/login.git
synced 2026-10-30 16:20:56 +00:00
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.
16 lines
268 B
TypeScript
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',
|
|
},
|
|
})
|