Skip to content
PluginStats

uglifyjs-webpack-plugin-new weekly downloads statistics

By webpack-contrib (7 listings) · npm · Webpack plugins

UglifyJS plugin for webpack

View on npm Stale · Oct 17, 2026

uglifyjs-webpack-plugin-new has 9 recorded weekly downloads on npm, a decrease of 62.5% over the past 30 days, ranking #1951 of 2,256 tracked listings.

Weekly downloads
9
Official API · Oct 17, 2026
7-day growth
-25.0%
-3 weekly downloads
30-day growth
-62.5%
-15 weekly downloads
90-day growth
-67.9%
-19 weekly downloads
Rank
#1951
Among tracked npm listings

About uglifyjs-webpack-plugin-new

[![npm][npm]][npm-url] [![node][node]][node-url] [![deps][deps]][deps-url] [![tests][tests]][tests-url] [![cover][cover]][cover-url] [![chat][chat]][chat-url] [![size][size]][size-url]

UglifyJS Webpack Plugin

This plugin uses uglify-js to minify your JavaScript.

Requirements

This module requires a minimum of Node v6.9.0 and Webpack v4.0.0.

Getting Started

To begin, you'll need to install uglifyjs-webpack-plugin:

Then add the plugin to your webpack config. For example:

webpack.config.js

And run webpack via your preferred method.

Options

test

Type: String|RegExp|Array Default: /.js(?.*)?$/i

Test to match files against.

webpack.config.js

include

Type: String|RegExp|Array Default: undefined

Files to include.

webpack.config.js

exclude

Type: String|RegExp|Array Default: undefined

Files to exclude.

webpack.config.js

chunkFilter

Type: Function boolean> Default: () => true

Allowing to filter which chunks should be uglified (by default all chunks are uglified). Return true to uglify the chunk, false otherwise.

webpack.config.js

cache

Type: Boolean|String Default: false

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

ℹ️ If you use your own minify function please read the minify section for cache invalidation correctly.

Boolean

Enable/disable file caching.

webpack.config.js

String

Enable file caching and set path to cache directory.

webpack.config.js

webpack.config.js

cacheKeys

Type: Function Object> Default: defaultCacheKeys => defaultCacheKeys

Allows you to override default cache keys.

Default cache keys:

webpack.config.js

parallel

Type: Boolean|Number Default: false

Use multi-process parallel running to improve the build speed. Default number of concurrent runs: os.cpus().length - 1.

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

Boolean

Enable/disable multi-process parallel running.

webpack.config.js

Number

Enable multi-process parallel running and set number of concurrent runs.

webpack.config.js

sourceMap

Type: Boolean Default: false

Use source maps to map error message locations to modules (this slows down the compilation). If you use your own minify function please read the minify section for handling source maps correctly.

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

webpack.config.js

minify

Type: Function Default: undefined

Allows you to override default minify function. By default plugin uses uglify-js package. Useful for using and testing unpublished versions or forks.

⚠️ Always use require inside minify function when parallel option enabled.

webpack.config.js

uglifyOptions

Type: Object Default: default

UglifyJS minify options.

webpack.config.js

extractComments

Type: Boolean|String|RegExp|Function Boolean|Object> Default: false

Whether comments shall be extracted to a separate file, (see details). By default extract only comments using /^**!|@preserve|@license|@cc_on/i regexp condition and remove remaining comments. If the original file is named foo.js, then the comments will be stored to foo.js.LICENSE. The uglifyOptions.output.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.

Boolean

Enable/disable extracting comments.

webpack.config.js

String

Extract all or some (use /^**!|@preserve|@license|@cc_on/i RegExp) comments.

webpack.config.js

RegExp

All comments that match the given expression will be extracted to the separate file.

webpack.config.js

Function Boolean>

All comments that match the given expression will be extracted to the separate file.

webpack.config.js

Object

Allow to customize condition for extract comments, specify extracted file name and banner.

webpack.config.js

condition

Type: Boolean|String|RegExp|Function Boolean|Object>

Condition what comments you need extract.

webpack.config.js

filename

Type: Regex|Function String> Default: ${file}.LICENSE

The file where the extracted comments will be stored. Default is to append the suffix .LICENSE to the original filename.

webpack.config.js

banner

Type: Boolean|String|Function String> Default: /*! For license information please see ${commentsFile} */

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.

webpack.config.js

warningsFilter

Type: Function Boolean> Default: () => true

Allow to filter uglify-js warnings. Return true to keep the warning, false otherwise.

webpack.config.js

Examples

Cache And Parallel

Enable cache and multi-process parallel running.

webpack.config.js

Preserve Comments

Extract all legal comments (i.e. /^**!|@preserve|@license|@cc_on/i) and preserve /@license/i comments.

webpack.config.js

Remove Comments

If you avoid building with comments, set uglifyOptions.output.comments to false as in this config:

webpack.config.js

Custom Minify Function

Override default minify function - use terser for minification.

webpack.config.js

Contributing

Please take a moment to read our contributing guidelines if you haven't yet done so.

CONTRIBUTING

License

MIT

Description from the npm listing.

  • uglify
  • uglify-js
  • uglify-es
  • 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-webpack-plugin-new weekly downloads on npm, last 90 days: 9 weekly downloads as of Oct 17, 2026, -67.9% over 90 days.uglifyjs-webpack-plugin-newWeekly downloads on npm · Last 90 days9downloads / week-67.9% over 90 days020406080100120Jul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 17, 2026 · 88 observations · Updated Oc…pluginstats.com
uglifyjs-webpack-plugin-new weekly downloads on npm, last 90 days: 9 weekly downloads as of Oct 17, 2026, -67.9% over 90 days.

7/30/90-day growth

uglifyjs-webpack-plugin-new weekly downloads growth on npm: -25.0% over 7 days, -62.5% over 30 days, -67.9% over 90 days.uglifyjs-webpack-plugin-newWeekly downloads growth on npm9downloads / week now7-day growth-3 weekly downloads-25.0%30-day growth-15 weekly downloads-62.5%90-day growth-19 weekly downloads-67.9%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
uglifyjs-webpack-plugin-new weekly downloads growth on npm: -25.0% over 7 days, -62.5% over 30 days, -67.9% over 90 days.

Ranking history

uglifyjs-webpack-plugin-new npm ranking history: currently #1951 (by weekly downloads).uglifyjs-webpack-plugin-newnpm ranking · by weekly downloads · Last 90 days#1951current rank#1944#1946#1948#1950#1952#1954Jul 21Aug 5Aug 20Sep 4Sep 19Oct 4Oct 19rankOct 18, 2026 – Oct 19, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
uglifyjs-webpack-plugin-new npm ranking history: currently #1951 (by weekly downloads).

Listing placement

All npm2,256 listings · 113 pages · 1,130 shown · page 98, #12 (overall #1,952)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins247 listings · 13 pages · page 11, #7 (overall #207)
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 (121)
Recent weekly downloads observations for uglifyjs-webpack-plugin-new
Date (UTC)Weekly downloadsChange vs. previous
90
9-1
10-5
150
150
15+3
120
120
12-9
21-15
36-4
40-10
500
50—

Similar npm Webpack plugins plugins

All 20 uglifyjs-webpack-plugin-new 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-webpack-plugin-new. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.