Skip to content
PluginStats

uglifyjs-3-webpack-plugin weekly downloads statistics

By whtsky · npm · Webpack plugins

UglifyJS plugin for webpack

View on npm Fresh · Dec 6, 2026

uglifyjs-3-webpack-plugin has 322 recorded weekly downloads on npm, a decrease of 1.8% over the past 30 days, ranking #2364 of 3,247 tracked listings.

Weekly downloads
322
Official API · Dec 5, 2026
7-day growth
+12.6%
+36 weekly downloads
30-day growth
-1.8%
-6 weekly downloads
90-day growth
+69.5%
+132 weekly downloads
Rank
#2364
▼ 74 in 7 days

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]

<div align="center"> <a href="https://github.com/webpack/webpack"> <img width="200" height="200" src="https://cdn.rawgit.com/webpack/media/e7485eb2/logo/icon.svg"> </a> <h1>UglifyJS Webpack Plugin</h1> <p>This plugin uses <a href="https://github.com/mishoo/UglifyJS2/">UglifyJS v3 </a>to minify your JavaScript</p> </div> <h2 align="center">Install</h2>
npm i -D uglifyjs-3-webpack-plugin
<h2 align="center">Usage</h2>

webpack.config.js

const UglifyJsPlugin = require('uglifyjs-3-webpack-plugin')

module.exports = {
  plugins: [
    new UglifyJsPlugin()
  ]
}
<h2 align="center">Options</h2>
NameTypeDefaultDescription
test{RegExp|Array<RegExp>}<code>/\.js$/i</code>Test to match files against
include{RegExp|Array<RegExp>}undefinedFiles to include
exclude{RegExp|Array<RegExp>}undefinedFiles to exclude
cache{Boolean|String}falseEnable file caching
parallel{Boolean|Number}falseUse multi-process parallel running to improve the build speed
sourceMap{Boolean}falseUse 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<(node, comment) -> {Boolean|Object}>}falseWhether comments shall be extracted to a separate file, (see details (webpack >= 2.3.0)
warningsFilter{Function(source) -> {Boolean}}() => trueAllow to filter uglify warnings
test

webpack.config.js

[
  new UglifyJsPlugin({
    test: /\.js($|\?)/i
  })
]
include

webpack.config.js

[
  new UglifyJsPlugin({
    include: /\/includes/
  })
]
exclude

webpack.config.js

[
  new UglifyJsPlugin({
    exclude: /\/excludes/
  })
]
cache
{Boolean}

webpack.config.js

[
  new UglifyJsPlugin({
    cache: true
  })
]

Enable file caching. Default path to cache directory: node_modules/.cache/uglifyjs-webpack-plugin.

{String}

webpack.config.js

[
  new UglifyJsPlugin({
    cache: 'path/to/cache'
  })
]

Path to cache directory.

parallel
{Boolean}

webpack.config.js

[
  new UglifyJsPlugin({
    parallel: true
  })
]

Enable parallelization. Default number of concurrent runs: os.cpus().length - 1.

{Number}

webpack.config.js

[
  new UglifyJsPlugin({
    parallel: 4
  })
]

Number of concurrent runs.

ℹ️ Parallelization can speedup your build significantly and is therefore highly recommended

sourceMap

webpack.config.js

[
  new UglifyJsPlugin({
    sourceMap: true
  })
]

⚠️ cheap-source-map options don't work with this plugin

uglifyOptions
NameTypeDefaultDescription
warnings{Boolean}falseDisplay Warnings
parse{Object}{}Additional Parse Options
compress{Boolean|Object}trueAdditional Compress Options
mangle{Boolean|Object}trueEnable Name Mangling (See Mangle Properties for advanced setups, use with ⚠️)
output{Object}{}Additional Output Options (The defaults are optimized for best compression)
toplevel{Boolean}falseEnable top level variable and function name mangling and to drop unused variables and functions
nameCache{Object}nullEnable cache of mangled variable and property names across multiple invocations
ie8{Boolean}falseEnable IE8 Support
keep_fnames{Boolean}falseEnable prevent discarding or mangling of function names. Useful for code relying on Function.prototype.name.

webpack.config.js

[
  new UglifyJsPlugin({
    uglifyOptions: {
      warnings: false,
      parse: {...options},
      compress: {...options},
      mangle: {
        ...options,
        properties: {
          // mangle property options
        }
      },
      output: {
        comments: false,
        beautify: false,
        ...options
      },
      toplevel: false,
      nameCache: null,
      ie8: false,
      keep_fnames: false,
    }
  })
]
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<(node, comment) -> {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}…

Description from the npm listing.

  • uglify
  • uglify-js
  • webpack
  • webpack-plugin

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

uglifyjs-3-webpack-plugin weekly downloads on npm, last 90 days: 322 weekly downloads as of Dec 5, 2026, +69.5% over 90 days.uglifyjs-3-webpack-pluginWeekly downloads on npm · Last 90 days322downloads / week+69.5% over 90 days0100200300400500Sep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
uglifyjs-3-webpack-plugin weekly downloads on npm, last 90 days: 322 weekly downloads as of Dec 5, 2026, +69.5% over 90 days.

7/30/90-day growth

uglifyjs-3-webpack-plugin weekly downloads growth on npm: +12.6% over 7 days, -1.8% over 30 days, +69.5% over 90 days.uglifyjs-3-webpack-pluginWeekly downloads growth on npm322downloads / week now7-day growth+36 weekly downloads+12.6%30-day growth-6 weekly downloads-1.8%90-day growth+132 weekly downloads+69.5%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
uglifyjs-3-webpack-plugin weekly downloads growth on npm: +12.6% over 7 days, -1.8% over 30 days, +69.5% over 90 days.

Ranking history

uglifyjs-3-webpack-plugin npm ranking history: currently #2364 (by weekly downloads).uglifyjs-3-webpack-pluginnpm ranking · by weekly downloads · Last 90 days#2364current rank#1600#1800#2000#2200#2400Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
uglifyjs-3-webpack-plugin npm ranking history: currently #2364 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 119, #4 (overall #2,364)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins349 listings · 18 pages · page 6, #17 (overall #117)
Webpack plugins: every listing in weekly downloads order

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 linear 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 (170)
Recent weekly downloads observations for uglifyjs-3-webpack-plugin
Date (UTC)Weekly downloadsChange vs. previous
322+5
317-15
332+23
309-13
322-15
337+44
293+7
286-6
292+1
291-14
305-36
341-8
349-88
437—

Similar npm Webpack plugins plugins

All 20 uglifyjs-3-webpack-plugin alternatives

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 Dec 6, 2026. See the methodology.