NET-Web-API-w-Angular/my-app/node_modules/babel-plugin-polyfill-corejs2
2024-02-08 19:38:41 -05:00
..
esm Updated the files. 2024-02-08 19:38:41 -05:00
lib Updated the files. 2024-02-08 19:38:41 -05:00
node_modules Updated the files. 2024-02-08 19:38:41 -05:00
LICENSE Updated the files. 2024-02-08 19:38:41 -05:00
package.json Updated the files. 2024-02-08 19:38:41 -05:00
README.md Updated the files. 2024-02-08 19:38:41 -05:00

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.