mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
fix(electron): fix electron build (#6305)
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user