Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace deprecated
@babel/polyfill
package with core-js
As of Babel 7.4.0, the `@babel/polyfill` package has been deprecated in favor of directly including `core-js/stable` and `regenerator-runtime/runtime` (1). Therefore the package has been replaced with the `core-js` (2) package. Currently only major version 2 is supported due to a transitive dependency conflict causing Gatsby to error out when using `core-js@3` or higher! References: (1) https://babeljs.io/docs/en/next/babel-polyfill.html (2) https://www.npmjs.com/package/core-js GH-137
- Loading branch information