# webpack/release
webpack v5.112.0
importance: highdeprecationfeature
This release introduces several enhancements to webpack's CSS, HTML, and JavaScript optimization capabilities, including new options for minimizing CSS, parsing XML/SVG, and handling shared modules. It also includes improvements to source map generation and module parsing.
affected
Developers using webpack for CSS, HTML, and JavaScript optimization will benefit from the new features and improvements.
action
Review the new options and deprecations to take advantage of the latest optimizations and ensure compatibility.
release_signals
!Rename `Harmony*` names to `ESM*` and deprecate the old spellings.
+Add `optimization.minimize.css.dropOverriddenDeclarations` for CSS optimization.
+Export more plugins under their scope and deprecate old exports.
+Emit the source map `scopes` field for better ESM binding resolution.
+Add `library.entryExports: "all"` to expose exports of every entry module.
+Accept glob patterns in more path, module, and file filter options.
code_snippet
Add `optimization.minimize.css.dropOverriddenDeclarations`, dropping a declaration a later one overrides where no target is named.# community_signal
How useful is this release to your stack?
—
net score
Sign in with GitHub to cast your vote.
Sign in with GitHub to vote
You’ll return to this release, then choose your vote.