Skip to content

Commit

Permalink
chore: update external dependency paths in binary cleanup (#27460)
Browse files Browse the repository at this point in the history
  • Loading branch information
astone123 committed Oct 19, 2023
1 parent 6e0ce50 commit 1232bd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/server/lib/modes/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1050,6 +1050,7 @@ async function ready (options: { projectRoot: string, record: boolean, key: stri
}

export async function run (options, loading: Promise<void>) {
// Check if running as electron process
if (require('../util/electron-app').isRunningAsElectronProcess({ debug })) {
const app = require('electron').app

Expand Down
1 change: 1 addition & 0 deletions scripts/binary/binary-cleanup.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ const getDependencyPathsToKeep = async (buildAppDir) => {
'pnpapi',
'@swc/core',
'emitter',
'./addon/addon-native',
],
})

Expand Down

0 comments on commit 1232bd0

Please sign in to comment.