agent-orchestrator/ui-electrobun/electrobun.config.ts
Hibryda cfc135ffaf feat: Electrobun Svelte+WGPU prototype (Dawn GPU confirmed on Linux)
- Svelte 5 frontend with Catppuccin Mocha theme, 2 project cards
- Electrobun v1.16.0 with bundleWGPU: true (Dawn on Linux x64)
- WebKitGTK webview + WGPU surface coexistence confirmed
- CPU: 6.5% idle (CSS animation + WebKitGTK overhead)
- Port 9760 for dev server (project convention)
2026-03-20 01:25:41 +01:00

31 lines
571 B
TypeScript

import type { ElectrobunConfig } from "electrobun";
export default {
app: {
name: "Agent Orchestrator",
identifier: "dev.agor.orchestrator",
version: "0.0.1",
},
build: {
bun: {
entrypoint: "src/bun/index.ts",
},
copy: {
"dist/index.html": "views/mainview/index.html",
"dist/assets": "views/mainview/assets",
},
watchIgnore: ["dist/**"],
mac: {
bundleCEF: false,
bundleWGPU: true,
},
linux: {
bundleCEF: false,
bundleWGPU: true,
},
win: {
bundleCEF: false,
bundleWGPU: true,
},
},
} satisfies ElectrobunConfig;