babel-minify-webpack-plugin weekly downloads statistics
By webpack-contrib (7 listings) · npm · Webpack plugins
babel-minify plugin for webpack
babel-minify-webpack-plugin has 4,699 recorded weekly downloads on npm, a decrease of 65.3% over the past 30 days.
It ranks #1107 of 2,256 tracked npm listings by weekly downloads.
Over 90 days, weekly downloads changed by -66.3%.
PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.
About babel-minify-webpack-plugin
[![npm][npm]][npm-url] [![deps][deps]][deps-url] [![test][test]][test-url] [![coverage][cover]][cover-url] [![quality][quality]][quality-url] [![chat][chat]][chat-url]
Babel Minify Webpack Plugin
A Webpack Plugin for babel-minify - A babel based minifier
Install
Usage
Options
minifyOpts
minifyOpts are passed on to babel-preset-minify. You can find a list of all available options in the package directory.
Default: {}
pluginOpts
• test: Test to match files against. Default: /\.js($|\?)/i • include: Files to include. Default: undefined • exclude: Files to exclude. Default: undefined • comments: Preserve Comments. Default: /^\**!|@preserve|@license|@cc_on/, falsy value to remove all comments. Accepts function, object with property test (regex), and values. • sourceMap: Configure a sourcemap style. Default: webpackConfig.devtool • parserOpts: Configure babel with special parser options. • babel: Pass in a custom babel-core instead. Default: require("babel-core") • minifyPreset: Pass in a custom babel-minify preset instead. Default: require("babel-preset-minify")
Why
You can also use babel-loader for webpack and include minify as a preset and should be much faster than using this - as babel-minify will operate on smaller file sizes. But then, why does this plugin exist at all? -
• A webpack loader operates on single files and the minify preset as a webpack loader is going to consider each file to be executed directly in the browser global scope (by default) and will not optimize some things in the toplevel scope. To enable optimizations to take place in the top level scope of the file, use mangle: { topLevel: true } in minifyOptions. • When you exclude node_modules from being run through the babel-loader, babel-minify optimizations are not applied to the excluded files as it doesn't pass through the minifier. • When you use the babel-loader with webpack, the code generated by webpack for the module system doesn't go through the loader and is not optimized by babel-minify. • A webpack plugin can operate on the entire chunk/bundle output and can optimize the whole bundle and you can see some differences in minified output. But this will be a lot slower as the file size is usually really huge. So there is another idea where we can apply some optimizations as a part of the loader and some optimizations in a plugin.
Maintainers
Boopathi Rajaa Juho Vepsäläinen Joshua Wiens Kees Kluskens Sean Larkin
Description from the npm listing.
- babel
- babel-minify
- minify
- webpack
- webpack-plugin
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a log scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (121)Similar npm Webpack plugins plugins
All 20 babel-minify-webpack-plugin alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/babel-minify-webpack-plugin. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.