Skip to content

Commit 4f3c9e8

Browse files
committed
fixup: work around NODE-6670
1 parent d5332ae commit 4f3c9e8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/cli-repl/webpack.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ const config = {
8282
...Object.fromEntries(
8383
Module.builtinModules.map((m) => [`node:${m}`, `commonjs2 ${m}`])
8484
), // node: builtin specifiers need to be always declared as externals in webpack right now
85+
// mongodb-client-encryption fixup until NODE-6670 is done
86+
'../build/Release/mongocrypt.node':
87+
'commonjs2 ../build/Release/mongocrypt.node',
88+
'../build/Debug/mongocrypt.node':
89+
'commonjs2 ../build/Debug/mongocrypt.node',
8590
},
8691

8792
externalsPresets: {

0 commit comments

Comments
 (0)