From b900d03591429d01891e936467734d5aa05eabb3 Mon Sep 17 00:00:00 2001 From: Paula Stachova Date: Mon, 4 Mar 2024 18:02:27 +0100 Subject: [PATCH] plus2 --- config/webpack.base.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/webpack.base.config.js b/config/webpack.base.config.js index 5a8c42aff..60e6b3aec 100644 --- a/config/webpack.base.config.js +++ b/config/webpack.base.config.js @@ -27,9 +27,12 @@ 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:zlib": "commonjs2 zlib", + "node:stream": "commonjs2 stream", + "node:zlib": "commonjs2 zlib", electron: "commonjs2 electron" // optional dep of the OIDC plugin },