Skip to content

Commit

Permalink
fix(electron): fix electron build (#6305)
Browse files Browse the repository at this point in the history
  • Loading branch information
pengx17 committed Mar 25, 2024
1 parent 3e547ce commit 00092c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/frontend/electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"jotai-devtools": "^0.8.0",
"lodash-es": "^4.17.21",
"mixpanel-browser": "^2.49.0",
"nanoid": "^5.0.6",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.22.3",
Expand All @@ -79,7 +80,6 @@
"async-call-rpc": "^6.4.0",
"electron-updater": "^6.1.9",
"link-preview-js": "^3.0.5",
"nanoid": "^5.0.6",
"yjs": "^13.6.12"
},
"build": {
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/electron/scripts/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const config = (): BuildOptions => {
bundle: true,
target: `node${NODE_MAJOR_VERSION}`,
platform: 'node',
external: ['electron', 'electron-updater', 'yjs', 'semver', 'tinykeys'],
external: ['electron', 'electron-updater', 'yjs', 'semver'],
format: 'cjs',
loader: {
'.node': 'copy',
Expand Down

0 comments on commit 00092c9

Please sign in to comment.