babel-plugin-polyfill-corejs2 intelligently adds only the required core-js polyfills for features used in your code, targeting older environments. It leverages Babel to analyze your AST and determines specifically which polyfills are necessary based on your code and specified browser targets. This plugin helps to drastically reduce bundle size by avoiding inclusion of unnecessary polyfills, focusing exclusively on what's missing for specified legacy JavaScript environments. It integrates smoothly with Babel's configuration.
Babel-plugin-polyfill-corejs2 had frequent releases between 2020-04 and 2021-03, peaking in 2021-02. Release frequency then decreased significantly, with sporadic releases occurring from 2021-04 to 2025-09. There were no releases in the current month of September 2025, or in August and July of this year.
Babel-plugin-polyfill-corejs2 downloads show strong usage throughout 2024 and 2025, generally trending upwards. Monthly downloads consistently exceed 85 million, often surpassing 95 million. There was a spike in June and July 2025 with over 121 million downloads. September 2025 downloads are incomplete and significantly lower.