feat: add Electrobun WGPU prototype (Dawn GPU on Linux confirmed)

This commit is contained in:
Hibryda 2026-03-20 01:18:19 +01:00
parent 14a3dbd096
commit 1f20fc460e
17 changed files with 233127 additions and 0 deletions

View file

@ -0,0 +1,26 @@
import type { ElectrobunConfig } from "electrobun";
export default {
app: {
name: "wgpu",
identifier: "wgpu.electrobun.dev",
version: "0.0.1",
},
build: {
bun: {
entrypoint: "src/bun/index.ts",
},
mac: {
bundleCEF: false,
bundleWGPU: true,
},
linux: {
bundleCEF: false,
bundleWGPU: true,
},
win: {
bundleCEF: false,
bundleWGPU: true,
},
},
} satisfies ElectrobunConfig;