Skip to content

Commit

Permalink
refactor: move to alias
Browse files Browse the repository at this point in the history
  • Loading branch information
alenakhineika committed Aug 9, 2024
1 parent 72db219 commit de303b1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ module.exports = (env, argv) => {

// We don't currently support kerberos in our extension.
kerberos: false,

// Optional native-addon dependencies of ssh2
'cpu-features': false,
'./crypto/build/Release/sshcrypto.node': false,
},
},

Expand All @@ -68,9 +72,6 @@ module.exports = (env, argv) => {
'os-dns-native': 'os-dns-native',
'mongodb-client-encryption': 'mongodb-client-encryption',
'compass-preferences-model': 'compass-preferences-model',
// Optional native-addon dependencies of ssh2
'cpu-features': false,
'./crypto/build/Release/sshcrypto.node': false,
'@mongodb-js/zstd': '@mongodb-js/zstd',
'gcp-metadata': 'gcp-metadata',
encoding: 'encoding',
Expand Down

0 comments on commit de303b1

Please sign in to comment.