Initial work to nuke nextjs

This commit is contained in:
2025-12-24 20:40:01 -05:00
parent 7d1c4d2b6c
commit b2232f4177
44 changed files with 4732 additions and 518 deletions

25
web/vite.config.ts Normal file
View File

@@ -0,0 +1,25 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import path from 'path'
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
},
},
server: {
port: 3000,
proxy: {
'/api': {
target: process.env.VITE_API_HOST || 'http://localhost:8080',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''),
},
},
},
build: {
outDir: 'build',
},
})