Skip to content

Commit 19f117c

Browse files
authored
1 parent 21f7968 commit 19f117c

33 files changed

+703
-157
lines changed

config/webpack.base.config.js

+15
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,21 @@ module.exports = {
2727

2828
externals: {
2929
"node:crypto": "commonjs2 crypto",
30+
// node-fetch https://github.com/node-fetch/node-fetch/blob/8b3320d2a7c07bce4afc6b2bf6c3bbddda85b01f/src/index.js#L9
31+
"node:buffer": "commonjs2 buffer",
32+
"node:http": "commonjs2 http",
33+
"node:https": "commonjs2 https",
34+
"node:stream": "commonjs2 stream",
35+
"node:zlib": "commonjs2 zlib",
36+
"node:url": "commonjs2 url",
37+
"node:util": "commonjs2 util",
38+
"node:events": "commonjs2 events",
39+
"node:net": "commonjs2 net",
40+
// https://github.com/node-fetch/node-fetch/blob/8b3320d2a7c07bce4afc6b2bf6c3bbddda85b01f/test/main.js#L2
41+
"node:dns": "commonjs2 dns",
42+
"node:fs": "commonjs2 fs",
43+
"node:path": "commonjs2 path",
44+
"node:vm": "commonjs2 vm",
3045
electron: "commonjs2 electron" // optional dep of the OIDC plugin
3146
},
3247

configs/tsconfig-mongosh/tsconfig.common.json

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"compilerOptions": {
33
"esModuleInterop": true,
44
"downlevelIteration": true,
5+
"skipLibCheck": true,
56
"sourceMap": true,
67

78
"strict": true,

0 commit comments

Comments
 (0)