Livrare LOT 1 - Didi

This commit is contained in:
Dezvoltari Evotech 2026-06-25 14:13:25 -07:00
commit 5380c3fc63
990 changed files with 133308 additions and 0 deletions

View file

@ -0,0 +1,26 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import path from 'node:path';
// React SPA mounted at /admin-ai/ in production (FastAPI StaticFiles).
// In dev, runs at :5173 with proxy to FastAPI for /api/* + /health.
export default defineConfig({
base: '/admin-ai/',
plugins: [react()],
resolve: {
alias: { '@': path.resolve(__dirname, './src') },
},
build: {
outDir: 'dist',
sourcemap: true,
chunkSizeWarningLimit: 700,
},
server: {
port: 5173,
strictPort: true,
proxy: {
'/api': 'http://localhost:51300',
'/health': 'http://localhost:51300',
},
},
});