mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-27 01:16:23 +02:00
fix electron-squirrel-startup
This commit is contained in:
parent
116ebce184
commit
6425dbcf28
3 changed files with 14 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ await esbuild.build({
|
|||
platform: 'node',
|
||||
target: 'node20',
|
||||
outfile: './.package/dist/main.cjs',
|
||||
external: ['electron', 'electron-squirrel-startup'], // Provided by Electron runtime
|
||||
external: ['electron'], // Provided by Electron runtime
|
||||
// Use CommonJS format - many dependencies use require() which doesn't work
|
||||
// well with esbuild's ESM shim. CJS handles dynamic requires natively.
|
||||
format: 'cjs',
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
"@x/core": "workspace:*",
|
||||
"@x/shared": "workspace:*",
|
||||
"chokidar": "^4.0.3",
|
||||
"electron-squirrel-startup": "^1.0.1",
|
||||
"update-electron-app": "^3.1.2",
|
||||
"zod": "^4.2.1"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue