initial commit
This commit is contained in:
35
apps/desktop/electrobun.config.ts
Normal file
35
apps/desktop/electrobun.config.ts
Normal file
@@ -0,0 +1,35 @@
|
||||
import type { ElectrobunConfig } from "electrobun";
|
||||
|
||||
const webBuildDir = "../web/build/client";
|
||||
|
||||
export default {
|
||||
app: {
|
||||
name: "code",
|
||||
identifier: "dev.bettertstack.code.desktop",
|
||||
version: "0.0.1",
|
||||
},
|
||||
runtime: {
|
||||
exitOnLastWindowClosed: true,
|
||||
},
|
||||
build: {
|
||||
bun: {
|
||||
entrypoint: "src/bun/index.ts",
|
||||
},
|
||||
copy: {
|
||||
[webBuildDir]: "views/mainview",
|
||||
},
|
||||
watchIgnore: [`${webBuildDir}/**`],
|
||||
mac: {
|
||||
bundleCEF: true,
|
||||
defaultRenderer: "cef",
|
||||
},
|
||||
linux: {
|
||||
bundleCEF: true,
|
||||
defaultRenderer: "cef",
|
||||
},
|
||||
win: {
|
||||
bundleCEF: true,
|
||||
defaultRenderer: "cef",
|
||||
},
|
||||
},
|
||||
} satisfies ElectrobunConfig;
|
||||
Reference in New Issue
Block a user