diff --git a/webpack.common.js b/webpack.common.js index 2856497..ea9043b 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -59,6 +59,9 @@ module.exports = { ], }, plugins: [ + new webpack.ProvidePlugin({ + Buffer: ['buffer', 'Buffer'], + }), new HtmlWebpackPlugin({ template: path.join(__dirname, 'lib', 'static', 'index.html'), version: pkg.version,