mirror of https://github.com/waku-org/js-waku.git
store:reactjs: Remove crypto-browserify
This commit is contained in:
parent
43d204c67e
commit
0fd94cc3b6
|
@ -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
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue