Merge pull request #8 from comatory/fix-missing-buffer-polyfill

Fix missing buffer polyfill
This commit is contained in:
Ondrej Synacek 2020-12-25 14:00:30 +01:00 committed by GitHub
commit 0f7d57afa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 2 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "facebook-events-ical-converter",
"version": "1.4.0",
"version": "1.4.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "facebook-events-ical-converter",
"version": "1.4.0",
"version": "1.4.1",
"private": true,
"description": "App that converts events on Facebook event page to iCal file.",
"main": "lib/index.js",

View File

@ -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,