Skip to content

Commit

Permalink
Merge pull request #7 from apivideo/remove-arrow-functions
Browse files Browse the repository at this point in the history
Disallow arrow functions in webpack config
  • Loading branch information
olivier-lando authored Feb 21, 2022
2 parents 8efa98d + fcd823a commit 92535bb
Show file tree
Hide file tree
Showing 5 changed files with 85 additions and 29 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Changelog
All changes to this project will be documented in this file.

## [1.0.12] - 2022-02-21
- Disallow arrow functions in webpack configuration

## [1.0.11] - 2022-01-01
- Pause pings if the current src is not an api.video one

Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

100 changes: 75 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@api.video/videojs-player-analytics",
"version": "1.0.11",
"version": "1.0.12",
"description": "api.video player analytics plugin for videojs",
"repository": {
"type": "git",
Expand Down Expand Up @@ -42,7 +42,7 @@
"webpack-cli": "^4.9.2"
},
"dependencies": {
"@api.video/player-analytics": "^1.0.8",
"@api.video/player-analytics": "^1.0.9",
"@types/video.js": "^7.3.15",
"core-js": "^3.10.0",
"url-polyfill": "^1.1.12"
Expand Down
5 changes: 4 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ module.exports = {
output: {
libraryTarget: 'umd',
filename: 'index.js',
globalObject: 'this'
globalObject: 'this',
environment: {
arrowFunction: false
}
}
};

0 comments on commit 92535bb

Please sign in to comment.