fix: telemetry scope label, chunk split, remove stale vite artifacts

- /system/host now reports scope=host|docker-desktop-vm and the daemon OS;
  Projects dashboard labels cards VM.* when the daemon is a Desktop VM so
  memory/core numbers aren't mistaken for physical host values
- manualChunks: split @xyflow/react and recharts out of the main bundle;
  removes the >1MB chunk warning
- drop tracked vite.config.js/.d.ts build artifacts that shadowed the real
  vite.config.ts

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
Tomas DvorakandDevin committed 2026-10-03 20:26:51 +02:00
1 parent 9f5dcc7296
commit a91e6531f5
8 files changed
+30 -57

No files matched your search

+3 -1
View File
@@ -30,7 +30,9 @@ export default defineConfig({
// Split vendor libraries
vendor: ['react', 'react-dom', '@tanstack/react-query'],
ui: ['@radix-ui/react-dialog', '@radix-ui/react-dropdown-menu', 'lucide-react'],
utils: ['date-fns', 'clsx', 'tailwind-merge']
utils: ['date-fns', 'clsx', 'tailwind-merge'],
canvas: ['@xyflow/react'],
charts: ['recharts']
},
// Optimize chunk naming for better caching
chunkFileNames: 'assets/js/[name]-[hash].js',