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