Wondering what’s next for npm?Check out our public roadmap! »

    babel-plugin-polyfill-corejs2

    0.2.0 • Public • Published

    babel-plugin-polyfill-corejs2

    Install

    Using npm:

    npm install --save-dev babel-plugin-polyfill-corejs2

    or using yarn:

    yarn add babel-plugin-polyfill-corejs2 --dev

    Usage

    Add this plugin to your Babel configuration:

    {
      "plugins": [["polyfill-corejs2", { "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.

    Keywords

    Install

    npm i babel-plugin-polyfill-corejs2

    DownloadsWeekly Downloads

    5,200,240

    Version

    0.2.0

    License

    MIT

    Unpacked Size

    81.2 kB

    Total Files

    9

    Last publish

    Collaborators

    • avatar