Skip to content

Releases: webpack/minimizer-webpack-plugin

v5.6.0

08 May 17:20
57bdcfc

Choose a tag to compare

Minor Changes

  • 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.

v5.5.0

23 Apr 21:31

Choose a tag to compare

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

5.5.0 (2026-04-23)

Features

  • support extractComments in swcMinify (#665) (03143d3)

v5.4.0

10 Mar 14:03

Choose a tag to compare

5.4.0 (2026-03-10)

Features

  • added ability to minimize JSON using jsonMinify (#657) (29ac915)

v5.3.17

03 Mar 14:55

Choose a tag to compare

5.3.17 (2026-03-03)

Bug Fixes

  • update serialize-javascript (37c490c)

v5.3.16

11 Dec 20:38

Choose a tag to compare

5.3.16 (2025-12-11)

Bug Fixes

v5.3.15

05 Dec 11:53

Choose a tag to compare

5.3.15 (2025-12-05)

Bug Fixes

  • catch error when loading minimizers (#639) (586af0a)
  • respect errors and warnings from minimizer without code (8607f79)

v5.3.14

06 Mar 13:20

Choose a tag to compare

5.3.14 (2025-03-06)

Bug Fixes

v5.3.13

05 Mar 15:49

Choose a tag to compare

5.3.13 (2025-03-05)

Bug Fixes

  • ecma and module types in minimizer options (#620) (5aa43c2)

v5.3.12

27 Feb 11:05

Choose a tag to compare

5.3.12 (2025-02-27)

Bug Fixes

  • allows minimizers to set worker thread support and don't use worker thread for swc and esbuild (#619) (15ddaab)

v5.3.11

13 Dec 13:39

Choose a tag to compare

5.3.11 (2024-12-13)

Bug Fixes

  • avoid the deprecation message (0341ad1)