Skip to content

Commit

Permalink
Remove corejs, let consuming app choose which polyfills to use
Browse files Browse the repository at this point in the history
  • Loading branch information
wheeyls committed Aug 6, 2019
1 parent 4e299c9 commit 00c1ab0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 14 deletions.
9 changes: 1 addition & 8 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
const presets = [
[
'@babel/env',
{
targets: {
browsers: ['last 2 versions', '> 5%', 'ie 9-11'],
},
useBuiltIns: 'usage',
corejs: '2.6'
},
'@babel/env'
],
];

Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"@babel/preset-env": "^7.5.4",
"@pika/plugin-build-web": "^0.3.10",
"@pika/plugin-standard-pkg": "^0.3.10",
"core-js": "^2.6.3",
"jest": "^24.8.0",
"npm": "^6.8.0",
"prettier": "^1.18.2"
Expand Down
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2086,11 +2086,6 @@ [email protected]:
resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.1.4.tgz#5fa17dc77002a169a3566cc48dc774d2e13e3769"
integrity sha512-uJ4Z7iPNwiu1foygbcZYJsJs1jiXrTTCvxfLDXNhI/I+NHbSIEyr548y4fcsCEyWY0XgfAG/qqaunJ1SThHenA==

core-js@^2.6.3:
version "2.6.3"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.3.tgz#4b70938bdffdaf64931e66e2db158f0892289c49"
integrity sha512-l00tmFFZOBHtYhN4Cz7k32VM7vTn3rE2ANjQDxdEN6zmXZ/xq1jQuutnmHvMG1ZJ7xd72+TA5YpUK8wz3rWsfQ==

[email protected], core-util-is@~1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
Expand Down

0 comments on commit 00c1ab0

Please sign in to comment.