Files
homelab-topology/vite.config.ts
Christopher Mayor 6dd679b8e0 feat: integrate all 10 skills into homelab-topology
- Added api-security-hardening (helmet, rate limits)
- Added nodejs-backend-patterns (error handling)
- Added observability-monitoring (pino logging)
- Added websocket-engineer (socket.io real-time updates)
- Added docker (Multi-stage build, compose)
- Added vitest (testing configuration and store tests)
- Added data-visualizer (MetricsBar and HostChart)
- Added infrastructure-monitoring/proxmox-admin/network-engineer types
- Fixed UI accessibility and styling
- Cleaned up node_modules tracking
2026-02-20 20:35:08 -08:00

29 lines
543 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import path from 'path'
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
},
},
server: {
host: true,
port: 3000
},
build: {
target: 'esnext',
sourcemap: false,
rollupOptions: {
output: {
manualChunks: {
'graph-vendor': ['@xyflow/react', 'dagre'],
'ui-vendor': ['lucide-react', 'recharts'],
},
},
},
},
})