mirror of https://github.com/waku-org/js-waku.git
relay-reactjs: Remove crypto-browserify
This commit is contained in:
parent
701dccfc28
commit
775628fbe7
|
@ -7,7 +7,7 @@ module.exports = {
|
|||
if (!config.resolve.fallback) config.resolve.fallback = {};
|
||||
Object.assign(config.resolve.fallback, {
|
||||
buffer: require.resolve('buffer'),
|
||||
crypto: require.resolve('crypto-browserify'),
|
||||
crypto: false,
|
||||
stream: require.resolve('stream-browserify'),
|
||||
});
|
||||
|
||||
|
@ -35,7 +35,7 @@ module.exports = {
|
|||
if (!config.resolve.fallback) config.resolve.fallback = {};
|
||||
Object.assign(config.resolve.fallback, {
|
||||
buffer: require.resolve('buffer'),
|
||||
crypto: require.resolve('crypto-browserify'),
|
||||
crypto: false,
|
||||
stream: require.resolve('stream-browserify'),
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue