NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #855 most downloaded on npm
Minimizer plugin for webpack
Last release 4 months ago
27 May 2026
Release timing varies
gaps range from 2 weeks to 9 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
89 releases · first in 2018
deduplicate extracted comments in linear time, so builds stay fast when an asset contains many distinct preserved comments (by @alexander-akait in #68
rename terserOptions to minimizerOptions ; terserOptions is kept as a deprecated alias (by @alexander-akait in #674 )
support array of minimizers for minify and terserOptions (by @alexander-akait in #674)
add built-in CSS minimizers from css-minimizer-webpack-plugin (by @alexander-akait in #674)
add built-in HTML minimizers from html-minimizer-webpack-plugin (by @alexander-akait in #674)
add filter method to minimizers, allowing a single plugin instance to handle multiple asset types (by @alexander-akait in #674)
terser-webpack-plugin has been renamed to minimizer-webpack-plugin, merging other minimizers from css-minimizer-webpack-plugin and html-minimizer-webpack-plugin. We will continue to publish new releases under the old name, but we recommend switching to the new package - minimizer-webpack-plugin. It is now a single plugin for minification. We also added the ability to specify different minifier types using only one plugin instance, which will improve performance. (by @alexander-akait in #677)
rename terserOptions to minimizerOptions; terserOptions is kept as a deprecated alias (by @alexander-akait in #674)
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
One column per quarter.
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
added ability to minimize JSON using jsonMinify
5.3.17 (2026-03-03) Bug Fixes update serialize-javascript
5.3.16 (2025-12-11) Bug Fixes handle empty files
catch error when loading minimizers
ecma and module types in minimizer options
allows minimizers to set worker thread support and don't use worker thread for swc and esbuild
### 5.3.11 (2024-12-13) ### Bug Fixes * avoid the deprecation message
bump terser to the latest stable version
### 5.3.9 (2023-05-17) ### Bug Fixes * types of Rule
### 5.3.8 (2023-05-06) ### Bug Fixes * reduce initial loading time
### 5.3.7 (2023-03-08) ### Bug Fixes * esbuild warning output
allow disable compress options for terser and swc
### 5.3.5 (2022-08-16) ### Bug Fixes * types
respect environment options for terser and swc compress options
### 5.3.3 (2022-06-02) ### Fixes * fix broken release
switched to @jridgewell/source-map for error generation
use TerserECMA type to fix type mismatch
removed cjs wrapper and generated types in commonjs format (export = and namespaces used in types), now you can directly use exported types
output readable esbuild warnings
### 5.2.4 (2021-09-09) ### Bug Fixes * types for the parallel option
types for optional dependencies have been removed in favor of the options provided by the developer (potential breaking change for types due invalid u…
types for optional peer dependencies
due terser-webpack-plugin has its own types now, @types/terser-webpack-plugin should be not used anymore, also @types/terser-webpack-plugin is not com
terser-webpack-plugin has its own types now, @types/terser-webpack-plugin should be not used anymore, also @types/terser-webpack-plugin is not compatible and has wrong types### 5.1.4 (2021-06-25) * update serialize-javascript
serialize-javascript### 5.1.3 (2021-05-31) ### Chore * update jest-worker
don't crash in non-parallel mode
### 5.1.1 (2021-01-09) ### Bug Fixes * remove verbose console log
optimize JS assets added later by plugins
### 5.0.3 (2020-10-28) ### Bug Fixes * performance
compatibility with the format option for terser
improved performance (we strongly recommend using latest LTS releases)
removed the cache option (respect the cache option by default from webpack)
cache option (respect the cache option by default from webpack)cacheKeys option (respect the cache option by default from webpack)sourceMap option (respect the devtool option by default from webpack)### 4.2.2 (2020-09-19) ### Bug Fixes * related asset info
### 4.2.1 (2020-09-15) ### Bug Fixes * cache for extracted comments (#314) (5340814) * compatibility with webpack@5
pass license files as related assets for webpack@5
the warningsFilter option was removed without replacement,
warningsFilter option was removed without replacement,terser version is 5,minify option was changed, only code/map/extractedComments are validshow minimized assets in stats for webpack@5
compatibility with child compilations
### 3.0.7 (2020-07-16) ### Bug Fixes * uglify additional assets
### 3.0.6 (2020-06-18) ### Bug Fixes * do not crash on buffer assets
### 3.0.5 (2020-06-15) ### Bug Fixes * multi-compiler crash
update p-limit and serialize-javascript packages
compatibility with >= 10.13 versions of Node.js
### 3.0.2 (2020-05-26) ### Bug Fixes * compatibility with webpack@5
parallelism in multi compilation mode
minimum supported Node.js version is 10.13
10.13chunkFilter was removed, please use test/include/exclude optionswarningFilter option from Function<(warning, file, source) -> Boolean> to Function<(file, warning, source) -> Boolean>extractComments.filename option is a function it pass only one argument and it is object with filename, basename, query and hash propertiesextractComments.filename option conflicts with existing assets, an error will be thrown instead of a warningoptimizeAssets hook for webpack@5### 2.3.8 (2020-08-12) ### Chore * update serialize-javascript
### 2.3.7 (2020-06-03) ### Bug Fixes * security problem
preserve @license comments starting with //
### 2.3.5 (2020-02-14) ### Bug Fixes * do not break code with shebang
license files now have .txt suffix by default
show error message from jest-worker
Your coding agent can read these notes before it upgrades. Set up the MCP server →