Merge pull request #4202 from balena-io/prevent-electron-rebuild

patch: prevent rebuild of native modules by @electron/rebuild
This commit is contained in:
flowzone-app[bot] 2024-04-22 10:19:21 +00:00 committed by GitHub
commit ad1c4c7175
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -52,7 +52,9 @@ const config: ForgeConfig = {
}, },
...osxSigningConfig, ...osxSigningConfig,
}, },
rebuildConfig: {}, rebuildConfig: {
onlyModules: [], // prevent rebuilding *any* native modules as they won't be used by electron but by the sidecar
},
makers: [ makers: [
new MakerZIP(), new MakerZIP(),
new MakerSquirrel({ new MakerSquirrel({