Skip to content

Commit

Permalink
chore: add usage polyfills from core-js for browser-list old browsers…
Browse files Browse the repository at this point in the history
… (specifically for chrome 53 which is aligned with WebOS 4)
  • Loading branch information
Dzianis Dashkevich committed May 8, 2023
1 parent 1491d71 commit da4d343
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
17 changes: 11 additions & 6 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
"@videojs/vhs-utils": "^4.0.0",
"@videojs/xhr": "2.6.0",
"aes-decrypter": "^4.0.1",
"core-js": "^2.6.12",
"global": "4.4.0",
"keycode": "2.2.0",
"m3u8-parser": "^6.0.0",
Expand Down
4 changes: 3 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ const primedBabel = babel({
],
bugfixes: true,
loose: true,
modules: false
modules: false,
useBuiltIns: 'usage',
corejs: '2'
}]
],
plugins: [
Expand Down

0 comments on commit da4d343

Please sign in to comment.