mirror of
https://github.com/philippemerle/KubeDiagrams.git
synced 2026-08-16 14:16:14 +00:00
- Increase Mermaid maxTextSize/maxEdges to support large cluster diagram - Add shared useHistorySync hook across Manifest/Helm/HelmFile/Cluster tab - Fix Cluster history: missing id causing overwrite, restore only working once, diagram not restored, duplicate entry created on restore - Add cluster label/color to HistoryPanel and remove dead code
22 lines
477 B
JavaScript
22 lines
477 B
JavaScript
import { defineConfig } from 'vite'
|
|
import tailwindcss from '@tailwindcss/vite'
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react(), tailwindcss()],
|
|
optimizeDeps: {
|
|
exclude: ['@terrastruct/d2'],
|
|
include: ['path-browserify'],
|
|
},
|
|
server: {
|
|
proxy: {
|
|
'/api': {
|
|
target: 'http://localhost:5000', // the backend
|
|
changeOrigin: true,
|
|
secure: false,
|
|
}
|
|
}
|
|
}
|
|
})
|