Skip to content

Commit

Permalink
fix: remove polyfill for process in the bundle
Browse files Browse the repository at this point in the history
A polyfill for Node.js "process" was included in the final bundle.

Reference: https://webpack.js.org/configuration/node/
  • Loading branch information
darrachequesne committed Feb 2, 2021
1 parent 63939e6 commit c95fdea
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 1 addition & 3 deletions support/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ module.exports = {
})()`
},
mode: "development",
node: {
Buffer: false
},
node: false,
module: {
rules: [
{
Expand Down

0 comments on commit c95fdea

Please sign in to comment.