From c95fdea83329b264964641bb48e3be2a8772f7a1 Mon Sep 17 00:00:00 2001 From: Damien Arrachequesne Date: Tue, 2 Feb 2021 09:32:32 +0100 Subject: [PATCH] fix: remove polyfill for process in the bundle A polyfill for Node.js "process" was included in the final bundle. Reference: https://webpack.js.org/configuration/node/ --- package-lock.json | 6 +++--- package.json | 2 +- support/webpack.config.js | 4 +--- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index c13c2320a..267c762f8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1995,9 +1995,9 @@ } }, "blob": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/blob/-/blob-0.0.4.tgz", - "integrity": "sha1-vPEwUspURj8w+fx+lbmkdjCpSSE=", + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/blob/-/blob-0.0.5.tgz", + "integrity": "sha512-gaqbzQPqOoamawKg0LGVd7SzLgXS+JH61oWprSLH+P+abTczqJbhTR8CmJ2u9/bUYNmHTGJx/UEmn6doAvvuig==", "dev": true }, "block-stream": { diff --git a/package.json b/package.json index 13e1b4985..aad7fddfa 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "@babel/preset-env": "^7.12.7", "babel-eslint": "^10.1.0", "babel-loader": "^8.2.2", - "blob": "^0.0.4", + "blob": "0.0.5", "engine.io": "4.0.2", "eslint": "^6.8.0", "eslint-config-prettier": "^6.15.0", diff --git a/support/webpack.config.js b/support/webpack.config.js index 111c8319f..29db8f68a 100644 --- a/support/webpack.config.js +++ b/support/webpack.config.js @@ -25,9 +25,7 @@ module.exports = { })()` }, mode: "development", - node: { - Buffer: false - }, + node: false, module: { rules: [ {