fix(electron): fix electron build (#6305)

This commit is contained in:
pengx17
2024-03-25 15:57:22 +00:00
parent 3e547ce4cc
commit 00092c9955
2 changed files with 2 additions and 2 deletions

View File

@@ -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',