/// import react from '@vitejs/plugin-react'; import { defineConfig } from 'vite'; export default defineConfig({ plugins: [react()], build: { target: 'es2022', }, server: { host: '127.0.0.1', port: 5173, strictPort: true, // В разработке API поднимается docker compose (deploy/compose.dev.yaml) на :8080 proxy: { '/api': 'http://localhost:8080', '/healthz': 'http://localhost:8080', }, }, test: { environment: 'jsdom', }, });