Huge news!Announcing our $20M Series A led by Andreessen Horowitz.Learn more
Socket
Socket
Log inDemoInstall

babel-plugin-polyfill-corejs2

Package Overview
Dependencies
72
Maintainers
1
Versions
35
Issues
File Explorer

Advanced tools

Install Socket

Protect your apps from supply chain attacks

Install

babel-plugin-polyfill-corejs2

A Babel plugin to inject imports to core-js@2 polyfills

    0.4.6latest
    GitHub
    npm

Version published
Maintainers
1
Weekly downloads
20,965,295
decreased by-2.23%

Weekly downloads

Readme

Source

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

FAQs

Last updated on 11 Oct 2023

Did you know?

Socket installs a GitHub app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install
SocketSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc