Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
paula-stacho authored Mar 6, 2024
1 parent 21f7968 commit 19f117c
Show file tree
Hide file tree
Showing 33 changed files with 703 additions and 157 deletions.
15 changes: 15 additions & 0 deletions config/webpack.base.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,21 @@ module.exports = {

externals: {
"node:crypto": "commonjs2 crypto",
// node-fetch https://github.com/node-fetch/node-fetch/blob/8b3320d2a7c07bce4afc6b2bf6c3bbddda85b01f/src/index.js#L9
"node:buffer": "commonjs2 buffer",
"node:http": "commonjs2 http",
"node:https": "commonjs2 https",
"node:stream": "commonjs2 stream",
"node:zlib": "commonjs2 zlib",
"node:url": "commonjs2 url",
"node:util": "commonjs2 util",
"node:events": "commonjs2 events",
"node:net": "commonjs2 net",
// https://github.com/node-fetch/node-fetch/blob/8b3320d2a7c07bce4afc6b2bf6c3bbddda85b01f/test/main.js#L2
"node:dns": "commonjs2 dns",
"node:fs": "commonjs2 fs",
"node:path": "commonjs2 path",
"node:vm": "commonjs2 vm",
electron: "commonjs2 electron" // optional dep of the OIDC plugin
},

Expand Down
1 change: 1 addition & 0 deletions configs/tsconfig-mongosh/tsconfig.common.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"compilerOptions": {
"esModuleInterop": true,
"downlevelIteration": true,
"skipLibCheck": true,
"sourceMap": true,

"strict": true,
Expand Down
Loading

0 comments on commit 19f117c

Please sign in to comment.