fix(Webpack): add Buffer polyfill in browser (#4102)

This commit is contained in:
Crawl 2020-04-20 21:15:26 +02:00 committed by GitHub
parent 97cbbb176b
commit 67a74c33e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,7 +43,7 @@ module.exports = {
__dirname: true,
process: true,
path: 'empty',
Buffer: false,
Buffer: true,
zlib: 'empty',
},
optimization: {