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
.