store:reactjs: Remove crypto-browserify

This commit is contained in:
Franck Royer 2022-05-11 15:51:39 +10:00
parent 43d204c67e
commit 0fd94cc3b6
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
3 changed files with 2 additions and 753 deletions

View File

@ -7,7 +7,7 @@ module.exports = {
if (!config.resolve.fallback) config.resolve.fallback = {}; if (!config.resolve.fallback) config.resolve.fallback = {};
Object.assign(config.resolve.fallback, { Object.assign(config.resolve.fallback, {
buffer: require.resolve('buffer'), buffer: require.resolve('buffer'),
crypto: require.resolve('crypto-browserify'), crypto: false,
stream: require.resolve('stream-browserify'), stream: require.resolve('stream-browserify'),
}); });
@ -35,7 +35,7 @@ module.exports = {
if (!config.resolve.fallback) config.resolve.fallback = {}; if (!config.resolve.fallback) config.resolve.fallback = {};
Object.assign(config.resolve.fallback, { Object.assign(config.resolve.fallback, {
buffer: require.resolve('buffer'), buffer: require.resolve('buffer'),
crypto: require.resolve('crypto-browserify'), crypto: false,
stream: require.resolve('stream-browserify'), stream: require.resolve('stream-browserify'),
}); });

File diff suppressed because it is too large Load Diff

View File

@ -8,7 +8,6 @@
"@testing-library/user-event": "^14.0.4", "@testing-library/user-event": "^14.0.4",
"assert": "^2.0.0", "assert": "^2.0.0",
"buffer": "^6.0.3", "buffer": "^6.0.3",
"crypto-browserify": "^3.12.0",
"js-waku": "^0.22.0", "js-waku": "^0.22.0",
"protons": "^2.0.3", "protons": "^2.0.3",
"react": "^18.1.0", "react": "^18.1.0",