Skip to content

Commit

Permalink
feat: added support for core-js@3 (thanks @BenWT)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: drop support for IE9
  • Loading branch information
BenWT committed Sep 14, 2020
1 parent 754bce7 commit e04d347
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 1 addition & 2 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ module.exports = {
'@babel/preset-env',
{
targets: {
browsers: ['last 5 versions', 'ie 9', 'defaults'],
browsers: ['last 5 versions', 'ie 11', 'defaults'],
},
useBuiltIns: 'usage',
},
],
],
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
},
"homepage": "https://github.com/relay-tools/react-relay-network-modern#readme",
"dependencies": {
"core-js": "3",
"extract-files": "^5.0.1"
},
"peerDependencies": {
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2289,6 +2289,11 @@ [email protected]:
resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.1.3.tgz#4c90752d5b9471f641514f3728f51c1e0783d0b5"
integrity sha512-k3JWTrcQBKqjkjI0bkfXS0lbpWPxYuHWfMMjC1VDmzU4Q58IwSbuXSo99YO/hUHlw/EB4AlfA2PVxOGkrIq6dA==

core-js@3:
version "3.6.5"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.6.5.tgz#7395dc273af37fb2e50e9bd3d9fe841285231d1a"
integrity sha512-vZVEEwZoIsI+vPEuoF9Iqf5H7/M3eeQqWlQnYa8FSKKePuYTf5MWnxb5SDAzCa60b3JBRS5g9b+Dq7b1y/RCrA==

core-js@^2.4.0:
version "2.4.1"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.4.1.tgz#4de911e667b0eae9124e34254b53aea6fc618d3e"
Expand Down

0 comments on commit e04d347

Please sign in to comment.