MIF_E31222707/node_modules/babel-plugin-polyfill-corejs2
adeliaala 0d288a48b9 done 2025-07-15 13:57:20 +07:00
..
esm done 2025-07-15 13:57:20 +07:00
lib done 2025-07-15 13:57:20 +07:00
node_modules done 2025-07-15 13:57:20 +07:00
LICENSE done 2025-07-15 13:57:20 +07:00
README.md done 2025-07-15 13:57:20 +07:00
package.json done 2025-07-15 13:57:20 +07:00

README.md

babel-plugin-polyfill-corejs2

Install

Using npm:

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

or using yarn:

yarn add babel-plugin-polyfill-corejs2 --dev

Usage

Add this plugin to your Babel configuration:

{
  "plugins": [["polyfill-corejs2", { "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.