npm terser-webpack-plugin 5.6.0
v5.6.0

5 hours ago

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.

Don't miss a new terser-webpack-plugin release

NewReleases is sending notifications on new releases.