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

View File

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