Adding Scrollbar and Improving vite config

Add scrollbar to Mission Control panel
Improve code-splitting to reduce bundle size
This commit is contained in:
Abigail Green
2026-02-03 12:18:53 -07:00
parent b2ab1ecc7a
commit f32e7efda6
3 changed files with 30 additions and 4 deletions

View File

@@ -26,11 +26,23 @@ export default defineConfig({
'vendor-flow': ['@xyflow/react', 'dagre'],
// Terminal emulator
'vendor-xterm': ['@xterm/xterm', '@xterm/addon-fit', '@xterm/addon-web-links'],
// UI components
'vendor-ui': [
// UI components - Radix UI
'vendor-radix': [
'@radix-ui/react-checkbox',
'@radix-ui/react-dialog',
'@radix-ui/react-dropdown-menu',
'@radix-ui/react-label',
'@radix-ui/react-separator',
'@radix-ui/react-slot',
'@radix-ui/react-switch',
],
// Icons and utilities
'vendor-utils': [
'lucide-react',
'canvas-confetti',
'class-variance-authority',
'clsx',
'tailwind-merge',
],
},
},