Skip to content

Commit

Permalink
Clean up unused polyfills
Browse files Browse the repository at this point in the history
  • Loading branch information
orhoj committed Dec 15, 2021
1 parent b797155 commit bfd5a74
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 247 deletions.
21 changes: 0 additions & 21 deletions configs/partials/webpack.config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,29 +62,8 @@ module.exports = {
}),
],
fallback: {
assert: require.resolve('assert'),
buffer: require.resolve('buffer'),
console: require.resolve('console-browserify'),
constants: require.resolve('constants-browserify'),
crypto: require.resolve('crypto-browserify'),
domain: require.resolve('domain-browser'),
events: require.resolve('events'),
http: require.resolve('stream-http'),
https: require.resolve('https-browserify'),
os: require.resolve('os-browserify/browser'),
path: require.resolve('path-browserify'),
punycode: require.resolve('punycode'),
// process: require.resolve('process/browser'),
querystring: require.resolve('querystring-es3'),
stream: require.resolve('stream-browserify'),
string_decoder: require.resolve('string_decoder'),
sys: require.resolve('util'),
timers: require.resolve('timers-browserify'),
tty: require.resolve('tty-browserify'),
url: require.resolve('url'),
util: require.resolve('util'),
vm: require.resolve('vm-browserify'),
zlib: require.resolve('browserify-zlib'),
},
},

Expand Down
18 changes: 1 addition & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,34 +255,25 @@
"@hot-loader/react-dom": "^16.13.0",
"@reduxjs/toolkit": "^1.4.0",
"archiver": "^5.3.0",
"assert": "^2.0.0",
"async-mutex": "^0.3.2",
"axios": "^0.21.0",
"bs58check": "^2.1.2",
"buffer": "^6.0.3",
"cbor": "^8.0.0",
"clsx": "^1.1.1",
"connected-react-router": "^6.6.1",
"console-browserify": "^1.2.0",
"constants-browserify": "^1.0.0",
"crypto-browserify": "^3.12.0",
"domain-browser": "^4.22.0",
"electron": "12.0.12",
"electron-debug": "^3.1.0",
"electron-log": "^4.2.4",
"electron-updater": "^4.3.9",
"events": "^3.3.0",
"framer-motion": "^3.7.0",
"history": "^4.7.2",
"html2canvas": "^1.0.0-rc.7",
"https-browserify": "^1.0.0",
"lodash.groupby": "^4.6.0",
"noble-ed25519": "^1.0.3",
"process": "^0.11.10",
"promise-worker": "^2.0.1",
"punycode": "^2.1.1",
"qrcode.react": "^1.0.1",
"querystring-es3": "^0.2.1",
"react": "^16.13.1",
"react-datepicker": "^4.3.0",
"react-dom": "^16.12.0",
Expand All @@ -304,14 +295,7 @@
"serialize-error": "^8.1.0",
"source-map-support": "^0.5.19",
"stream-browserify": "^3.0.0",
"stream-http": "^3.2.0",
"string_decoder": "^1.3.0",
"timers-browserify": "^2.0.12",
"tty-browserify": "^0.0.1",
"url": "^0.11.0",
"use-react-screenshot": "^1.0.2",
"util": "^0.12.4",
"vm-browserify": "^1.1.2"
"use-react-screenshot": "^1.0.2"
},
"devEngines": {
"node": ">=14.x",
Expand Down
Loading

0 comments on commit bfd5a74

Please sign in to comment.