Logo
Explore Help
Register Sign In
tianpu/zpark-ems
1
0
Fork 0
You've already forked zpark-ems
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
1be9a2e6c5d00fd65d827159cb7280b597bb5f09
zpark-ems/frontend/vite.config.ts

23 lines
383 B
TypeScript
Raw Normal View History

feat: customer frontend, Sungrow collector fixes, real data (v1.2.0) - Add frontend/ at root (no Three.js, no Charging, green #52c41a theme) - Fix Sungrow collector: add curPage/size params, unit conversion - Fix station-level dedup to prevent double-counting - Add shared token cache for API rate limit protection - Add .githooks/pre-commit, CLAUDE.md, .gitignore - Update docker-compose.override.yml frontend -> ./frontend - Pin bcrypt in requirements.txt - Add BUYOFF_RESULTS_2026-04-05.md (39/43 pass) - Data accuracy: 0.0% diff vs iSolarCloud Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 23:43:24 +08:00
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
server: {
port: 3000,
proxy: {
'/api': {
target: 'http://backend:8000',
changeOrigin: true,
},
},
},
optimizeDeps: {
include: [
'react',
'react-dom',
'react-dom/client',
],
},
})
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 146ms Template: 0ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API