import type { ElectrobunConfig } from "electrobun"; import { BRANDING } from "./src/shared/branding"; export default { app: { name: BRANDING.appName, identifier: BRANDING.identifier, version: BRANDING.version, }, build: { bun: { entrypoint: "src/bun/index.ts", // ssh2's optional native accelerators must never be bundled; its // runtime try/catch falls back to pure JS when the require fails. external: ["cpu-features", "*.node"], }, copy: { "ui/dist/ui/browser": "views/app", }, watchIgnore: ["ui/**", "dist/**"], mac: { bundleCEF: false, icons: BRANDING.icon, }, linux: { bundleCEF: false, }, win: { bundleCEF: false, }, }, } satisfies ElectrobunConfig;