Urara-Blog/node_modules/.pnpm-store/v3/files/33/5d638dfe32cc8825d98de5248283538d4e6f27bd7aa6de2eeb4946806c260435f7827a1895bb64bfae25022dd3b824f828a97b654dc6f3d179e1cab661005a
2022-08-14 01:14:53 +08:00

28 lines
498 B
Text

# babel-plugin-polyfill-corejs3
## Install
Using npm:
```sh
npm install --save-dev babel-plugin-polyfill-corejs3
```
or using yarn:
```sh
yarn add babel-plugin-polyfill-corejs3 --dev
```
## Usage
Add this plugin to your Babel configuration:
```json
{
"plugins": [["polyfill-corejs3", { "method": "usage-global", "version": "3.20" }]]
}
```
This package supports the `usage-pure`, `usage-global`, and `entry-global` methods.
When `entry-global` is used, it replaces imports to `core-js`.