babel-plugin-polyfill-corejs2 (0.4.14)

Published 2026-02-24 13:53:18 +00:00 by atheaadmin

Installation

registry=
npm install babel-plugin-polyfill-corejs2@0.4.14
"babel-plugin-polyfill-corejs2": "0.4.14"

About this package

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.

Dependencies

Dependencies

ID Version
@babel/compat-data ^7.27.7
@babel/helper-define-polyfill-provider ^0.6.5
semver ^6.3.1

Development Dependencies

ID Version
@babel/core ^7.27.7
@babel/helper-plugin-test-runner ^7.27.1
@babel/plugin-transform-for-of ^7.27.1
@babel/plugin-transform-modules-commonjs ^7.27.1

Peer Dependencies

ID Version
@babel/core ^7.4.0 || ^8.0.0-0 <8.0.0

Keywords

babel-plugin
Details
npm
2026-02-24 13:53:18 +00:00
0
MIT
latest
20 KiB
Assets (1)
Versions (1) View all
0.4.14 2026-02-24