Skip to content

Commit c95fdea

Browse files
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/
1 parent 63939e6 commit c95fdea

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"@babel/preset-env": "^7.12.7",
4242
"babel-eslint": "^10.1.0",
4343
"babel-loader": "^8.2.2",
44-
"blob": "^0.0.4",
44+
"blob": "0.0.5",
4545
"engine.io": "4.0.2",
4646
"eslint": "^6.8.0",
4747
"eslint-config-prettier": "^6.15.0",

support/webpack.config.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ module.exports = {
2525
})()`
2626
},
2727
mode: "development",
28-
node: {
29-
Buffer: false
30-
},
28+
node: false,
3129
module: {
3230
rules: [
3331
{

0 commit comments

Comments
 (0)