fix: add missing Buffer polyfill
This commit is contained in:
parent
1b0bb1c2a2
commit
d128b6557d
|
@ -59,6 +59,9 @@ module.exports = {
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
|
new webpack.ProvidePlugin({
|
||||||
|
Buffer: ['buffer', 'Buffer'],
|
||||||
|
}),
|
||||||
new HtmlWebpackPlugin({
|
new HtmlWebpackPlugin({
|
||||||
template: path.join(__dirname, 'lib', 'static', 'index.html'),
|
template: path.join(__dirname, 'lib', 'static', 'index.html'),
|
||||||
version: pkg.version,
|
version: pkg.version,
|
||||||
|
|
Loading…
Reference in New Issue