todoApp/node_modules/babel-plugin-polyfill-corejs2
Alain Vasquez Ramirez deb60c112f version 02 2025-03-26 19:04:28 -06:00
..
esm version 1.0 2025-03-26 08:18:28 -06:00
lib version 1.0 2025-03-26 08:18:28 -06:00
node_modules version 1.0 2025-03-26 08:18:28 -06:00
LICENSE version 1.0 2025-03-26 08:18:28 -06:00
README.md version 1.0 2025-03-26 08:18:28 -06:00
package.json version 02 2025-03-26 19:04:28 -06: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.