Buckets:
1.39 GB
20,046 files
Updated 15 days ago
Ctrl+K
| Name | Size | Uploaded | Xet hash |
|---|---|---|---|
| esm | 2 items | ||
| lib | 4 items | ||
| LICENSE | 1.1 kB xet | 2eda0341 | |
| README.md | 479 Bytes xet | 64d4608e | |
| package.json | 1.12 kB xet | 2a8ec3d3 |
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.
- Total size
- 1.39 GB
- Files
- 20,046
- Last updated
- May 9
- Pre-warmed CDN
- US EU US EU