uglifyjs-3-webpack-plugin weekly downloads statistics
By whtsky · npm · Webpack plugins
UglifyJS plugin for webpack
uglifyjs-3-webpack-plugin has 121 recorded weekly downloads on npm, a decrease of 50.0% over the past 30 days.
It ranks #1649 of 2,251 tracked npm listings by weekly downloads.
Over 90 days, weekly downloads changed by -52.4%.
PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.
About uglifyjs-3-webpack-plugin
[![npm][npm]][npm-url] [![node][node]][node-url] [![deps][deps]][deps-url] [![test][test]][test-url] [![coverage][cover]][cover-url] [![chat][chat]][chat-url]
UglifyJS Webpack Plugin
This plugin uses UglifyJS v3 to minify your JavaScript
Install
Usage
webpack.config.js
Options
|Name|Type|Default|Description| |:--:|:--:|:-----:|:----------| |test|{RegExp\|Array}| /\\.js$/i|Test to match files against| |include|{RegExp\|Array}|undefined|Files to include| |exclude|{RegExp\|Array}|undefined|Files to exclude| |cache|{Boolean\|String}|false|Enable file caching| |parallel|{Boolean\|Number}|false|Use multi-process parallel running to improve the build speed| |sourceMap|{Boolean}|false|Use source maps to map error message locations to modules (This slows down the compilation) ⚠️ cheap-source-map options don't work with this plugin| |uglifyOptions|{Object}|{...defaults}|uglify Options| |extractComments|{Boolean\|RegExp\|Function {Boolean\|Object}>}|false|Whether comments shall be extracted to a separate file, (see details (webpack >= 2.3.0)| |warningsFilter|{Function(source) -> {Boolean}}|() => true|Allow to filter uglify warnings|
test
webpack.config.js
include
webpack.config.js
exclude
webpack.config.js
cache
{Boolean}
webpack.config.js
Enable file caching. Default path to cache directory: node_modules/.cache/uglifyjs-webpack-plugin.
{String}
webpack.config.js
Path to cache directory.
parallel
{Boolean}
webpack.config.js
Enable parallelization. Default number of concurrent runs: os.cpus().length - 1.
{Number}
webpack.config.js
Number of concurrent runs.
ℹ️ Parallelization can speedup your build significantly and is therefore highly recommended
sourceMap
webpack.config.js
⚠️ cheap-source-map options don't work with this plugin
uglifyOptions
|Name|Type|Default|Description| |:--:|:--:|:-----:|:----------| |warnings|{Boolean}|false|Display Warnings| |parse|{Object}|{}|Additional Parse Options| |compress|{Boolean\|Object}|true|Additional Compress Options| |mangle|{Boolean\|Object}|true|Enable Name Mangling (See Mangle Properties for advanced setups, use with ⚠️)| |output|{Object}|{}|Additional Output Options (The defaults are optimized for best compression)| |toplevel|{Boolean}|false|Enable top level variable and function name mangling and to drop unused variables and functions| |nameCache|{Object}|null|Enable cache of mangled variable and property names across multiple invocations| |ie8|{Boolean}|false|Enable IE8 Support| |keep_fnames|{Boolean}|false| Enable prevent discarding or mangling of function names. Useful for code relying on Function.prototype.name.|
webpack.config.js
extractComments
{Boolean}
All comments that normally would be preserved by the comments option will be moved to a separate file. If the original file is named foo.js, then the comments will be stored to foo.js.LICENSE.
{RegExp|String} or {Function {Boolean}>}
All comments that match the given expression (resp. are evaluated to true by the function) will be extracted to the separate file. The comments option specifies whether the comment will be preserved, i.e. it is possible to preserve some comments (e.g. annotations) while extracting others or even preserving comments that have been extracted.
{Object}
|Name|Type|Default|Description| |:--:|:--:|:-----:|:----------| |condition|{Regex\|Function}|``|Regular Expression or function (see previous point)| |filename|{String\|Function}|${file}.LICENSE|The file where the extracted comments will be stored. Can be either a {String} or a {Function {String}>}, which will be given the original filename. Default is to append the suffix .LICENSE to the original filename| |banner|{Boolean\|String\|Function}|/*! For license information please see ${filename}.js.LICENSE */|The banner text that points to the extracted file and will be added on top of the original file. Can be false (no banner), a {String}, or a {Function {String} that will be called with the filename where extracted comments have been stored. Will be wrapped into comment|
warningsFilter
webpack.config.js
Maintainers
Steven Hargrove Juho Vepsäläinen Joshua Wiens Michael Ciniawsky Alexander Krasnoyarov
Description from the npm listing.
- uglify
- uglify-js
- webpack
- webpack-plugin
Where uglifyjs-3-webpack-plugin sits in the listing
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.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
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.
Recent observations
Full history (121)Similar npm Webpack plugins plugins
Data 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/uglifyjs-3-webpack-plugin. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.