Skip to content

Commit

Permalink
no longer clean up default-gateway as it was shipped with webpack-dev…
Browse files Browse the repository at this point in the history
…-server 4, which is now a dev dependency [run ci]
  • Loading branch information
AtofStryker committed Oct 29, 2024
1 parent 907273c commit c40d117
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions scripts/binary/binary-cleanup.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,6 @@ const getDependencyPathsToKeep = async (buildAppDir) => {

let entryPoints = new Set([
...startingEntryPoints.map((entryPoint) => path.join(unixBuildAppDir, entryPoint)),
// These dependencies are completely dynamic using the pattern `require(`./${name}`)` and will not be pulled in by esbuild but still need to be kept in the binary.
...['ibmi',
'sunos',
'android',
'darwin',
'freebsd',
'linux',
'openbsd',
'sunos',
'win32'].map((platform) => path.join(unixBuildAppDir, `node_modules/default-gateway/${platform}.js`)),
])
let esbuildResult
let newEntryPointsFound = true
Expand Down

0 comments on commit c40d117

Please sign in to comment.