diff --git a/package.json b/package.json index f918670b..d22f448c 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,6 @@ }, "dependencies": { "async-validator": "^1.8.2", - "core-js": "^2.5.3", "deepmerge": "^1.5.2", "element-resize-detector": "^1.1.12", "lodash.throttle": "^4.1.1", diff --git a/src/index.js b/src/index.js index 5daf1834..ee7d67dc 100644 --- a/src/index.js +++ b/src/index.js @@ -1,7 +1,3 @@ -// es6 polyfill -import 'core-js/fn/array/find'; -import 'core-js/fn/array/find-index'; - import Affix from './components/affix'; import Alert from './components/alert'; import AutoComplete from './components/auto-complete'; diff --git a/yarn.lock b/yarn.lock index 00c274b3..f86c80bf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1838,7 +1838,7 @@ core-js@^1.0.0: version "1.2.7" resolved "https://registry.yarnpkg.com/core-js/-/core-js-1.2.7.tgz#652294c14651db28fa93bd2d5ff2983a4f08c636" -core-js@^2.2.0, core-js@^2.4.0, core-js@^2.5.0, core-js@^2.5.3: +core-js@^2.2.0, core-js@^2.4.0, core-js@^2.5.0: version "2.5.3" resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.3.tgz#8acc38345824f16d8365b7c9b4259168e8ed603e"