electrobun 0.0.19-beta.15 → 0.0.19-beta.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electrobun",
3
- "version": "0.0.19-beta.15",
3
+ "version": "0.0.19-beta.16",
4
4
  "description": "Build ultra fast, tiny, and cross-platform desktop apps with Typescript.",
5
5
  "license": "MIT",
6
6
  "author": "Blackboard Technologies Inc.",
package/src/cli/index.ts CHANGED
@@ -249,7 +249,6 @@ const commandDefaults = {
249
249
 
250
250
  // todo (yoav): add types for config
251
251
  const defaultConfig = {
252
- entrypoint: "src/bun/index.ts",
253
252
  app: {
254
253
  name: "MyApp",
255
254
  identifier: "com.example.myapp",
@@ -268,6 +267,10 @@ const defaultConfig = {
268
267
  },
269
268
  icons: "icon.iconset",
270
269
  },
270
+ bun: {
271
+ entrypoint: "src/bun/index.ts",
272
+ external: [],
273
+ },
271
274
  },
272
275
  scripts: {
273
276
  postBuild: "",
@@ -1318,6 +1321,10 @@ function getConfig() {
1318
1321
  ...(loadedConfig?.build?.mac?.entitlements || {}),
1319
1322
  },
1320
1323
  },
1324
+ bun: {
1325
+ ...defaultConfig.build.bun,
1326
+ ...(loadedConfig?.build?.bun || {}),
1327
+ }
1321
1328
  },
1322
1329
  scripts: {
1323
1330
  ...defaultConfig.scripts,