DigitalConsumer.FixMyGlass/node_modules/babel-plugin-polyfill-corejs3
2021-09-20 18:29:11 -04:00
..
core-js-compat my commit 2021-09-20 18:29:11 -04:00
esm my commit 2021-09-20 18:29:11 -04:00
lib my commit 2021-09-20 18:29:11 -04:00
.DS_Store my commit 2021-09-20 18:29:11 -04:00
LICENSE my commit 2021-09-20 18:29:11 -04:00
package.json my commit 2021-09-20 18:29:11 -04:00
README.md my commit 2021-09-20 18:29:11 -04:00

babel-plugin-polyfill-corejs3

Install

Using npm:

npm install --save-dev babel-plugin-polyfill-corejs3

or using yarn:

yarn add babel-plugin-polyfill-corejs3 --dev

Usage

Add this plugin to your Babel configuration:

{
  "plugins": [["polyfill-corejs3", { "method": "usage-global" }]]
}

This package supports the usage-pure, usage-global, and entry-global methods. When entry-global is used, it replaces imports to core-js.