Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
feat([issue-907]): upgrade client to Vite 8
Adam Eivya23f0df2ad91
diff --git a/client/package.json b/client/package.jsonindex 79049e5ffb..a666bb093c 100644--- a/client/package.json+++ b/client/package.json@@ -35,14 +35,14 @@"@testing-library/jest-dom": "6.9.1","@testing-library/react": "16.3.2","@testing-library/user-event": "14.6.1",- "@vitejs/plugin-react": "5.1.4",+ "@vitejs/plugin-react": "6.0.2","eslint": "9.23.0","eslint-plugin-react": "7.37.5","eslint-plugin-react-hooks": "5.2.0","jsdom": "25.0.1","rollup-plugin-visualizer": "6.0.11","tailwindcss": "4.2.1",- "vite": "7.3.2",+ "vite": "8.0.16","vitest": "4.1.8"},"overrides": {diff --git a/client/vite.config.js b/client/vite.config.jsindex d76aa9c047..6084e35bf7 100644--- a/client/vite.config.js+++ b/client/vite.config.js@@ -75,15 +75,29 @@ export default defineConfig(({ mode }) => {build: {rollupOptions: {output: {- manualChunks: {+ // Vite 8's rolldown bundler requires manualChunks to be a function;+ // the object-map form Rollup accepted is no longer supported. Match+ // each module id against the vendor package's node_modules path to+ // produce the same vendor chunks as before.+ manualChunks(id) {+ if (!id.includes('node_modules')) return undefined;// Core React dependencies- 'vendor-react': ['react', 'react-dom', 'react-router-dom'],+ if (/[\\/]node_modules[\\/](react|react-dom|react-router|react-router-dom)[\\/]/.test(id)) {+ return 'vendor-react';+ }// Socket dependencies- 'vendor-realtime': ['socket.io-client'],+ if (/[\\/]node_modules[\\/]socket\.io-client[\\/]/.test(id)) {+ return 'vendor-realtime';+ }// Drag and drop library (only used in CoS)- 'vendor-dnd': ['@dnd-kit/core', '@dnd-kit/sortable', '@dnd-kit/utilities'],+ if (/[\\/]node_modules[\\/]@dnd-kit[\\/]/.test(id)) {+ return 'vendor-dnd';+ }// Icon library (largest dependency)- 'vendor-icons': ['lucide-react']+ if (/[\\/]node_modules[\\/]lucide-react[\\/]/.test(id)) {+ return 'vendor-icons';+ }+ return undefined;}}},