Irina Glushko 2389e7160b HW1 done | 3 rokov pred | |
---|---|---|
.. | ||
core-js-compat | 3 rokov pred | |
esm | 3 rokov pred | |
lib | 3 rokov pred | |
LICENSE | 3 rokov pred | |
README.md | 3 rokov pred | |
package.json | 3 rokov pred |
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
.