Initial GeoIntel V1 foundation
GeoIntel CI / docs-smoke (push) Has been cancelled
GeoIntel CI / contract-smoke (push) Has been cancelled

This commit is contained in:
Codex
2026-06-16 23:36:32 +02:00
commit 6ea3586a3e
605 changed files with 45284 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
declare const process: { env: Record<string, string | undefined> }
const apiProxyTarget = process.env.VITE_API_PROXY_TARGET ?? 'http://localhost:8000'
export default defineConfig({
plugins: [react()],
build: {
chunkSizeWarningLimit: 900,
rollupOptions: {
output: {
manualChunks: {
maplibre: ['maplibre-gl'],
vendor: ['react', 'react-dom'],
},
},
},
},
server: {
port: 5173,
proxy: {
'/api': {
target: apiProxyTarget,
changeOrigin: true,
},
'/health': {
target: apiProxyTarget,
changeOrigin: true,
},
},
},
})