fix: cater for buffer transitive dependency

Does not seem to be actually used.
This commit is contained in:
fryorcraken.eth 2022-08-02 11:10:42 +10:00
parent cd21c71b49
commit b05e8bef01
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 4 additions and 0 deletions

View File

@ -42,6 +42,10 @@ module.exports = function (config) {
],
resolve: {
extensions: [".ts", ".js"],
fallback: {
// Can be removed once https://github.com/libp2p/js-libp2p-pubsub/pull/92 is merged and released
buffer: false,
},
},
stats: { warnings: false },
},