mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 03:53:29 +01:00
fix(Webpack): add Buffer polyfill in browser (#4102)
This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user