This repository has been archived on 2026-04-03. You can view files and clone it, but cannot push or open issues or pull requests.
nyx/vite.config.ts
Nico 4d4e1e198c Panel system: replace quad DevPanel with composable panel architecture
- PanelShell layout: main content + stacked side panels (320px)
- usePanels composable: role-based registry, localStorage persistence
- Lazy-loaded panels: Graph (Cytoscape+Cola), Trace, Nodes, State
- Fix HUD protocol: map assay node-level events to nyx tree format
- Graph: edge filtering for missing nodes, Tailwind canvas opacity fix
- Remove FramesPanel and TaskPanel (data merged into State panel)
- Toolbar panel toggles with heroicon badges

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-02 19:08:50 +02:00

30 lines
597 B
TypeScript

import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import tailwindcss from '@tailwindcss/vite'
const buildId = Date.now().toString(36);
export default defineConfig({
define: {
__BUILD__: JSON.stringify(buildId),
},
plugins: [tailwindcss(), vue()],
server: {
host: '0.0.0.0',
port: 5173,
proxy: {
'/ws': {
target: 'ws://localhost:8000',
ws: true,
changeOrigin: true,
},
'/api': {
target: 'http://localhost:8000',
changeOrigin: true,
},
},
},
build: {
outDir: 'dist',
},
})