Irina Glushko 2389e7160b HW1 done | 3 سال پیش | |
---|---|---|
.. | ||
core-js-compat | 3 سال پیش | |
esm | 3 سال پیش | |
lib | 3 سال پیش | |
LICENSE | 3 سال پیش | |
README.md | 3 سال پیش | |
package.json | 3 سال پیش |
Using npm:
npm install --save-dev babel-plugin-polyfill-corejs3
or using yarn:
yarn add babel-plugin-polyfill-corejs3 --dev
Add this plugin to your Babel configuration:
{
"plugins": [["polyfill-corejs3", { "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
.