This repository was archived by the owner on Sep 6, 2026. It is now read-only.
docs: deprecate in favor of minimizer-webpack-plugin - #514
Merged
alexander-akait merged 3 commits intoSep 6, 2026
Conversation
Adds a deprecation notice and an option-by-option migration guide, so the two plugins converge on one that covers every asset type rather than images alone. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016TQeNpahUSDUjD2Crugy5H
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #514 +/- ##
=======================================
Coverage 77.85% 77.85%
=======================================
Files 4 4
Lines 745 745
Branches 300 298 -2
=======================================
Hits 580 580
Misses 136 136
Partials 29 29 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
`ajv` pulls in 3.1.2, which six advisories cover (the vulnerable range is 3.0.0 - 3.1.5), so `npm run security` fails on `main` as well as here. `ajv` accepts `^3.0.1`, so an override on the patched line is enough. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016TQeNpahUSDUjD2Crugy5H
`minimizer-webpack-plugin` now takes a generator's options from `generate` itself, so the port is a rename rather than a move to `generatorOptions`. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016TQeNpahUSDUjD2Crugy5H
alexander-akait
deleted the
docs/deprecate-in-favor-of-minimizer-plugin
branch
September 6, 2026 11:21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a deprecation notice under the title and a
Migrating to minimizer-webpack-pluginsection, so the two plugins converge on one that covers every asset type — JavaScript, CSS, HTML, JSON and images — rather than images alone. The notice says the plugin still works and still gets security fixes, and that new features land inminimizer-webpack-pluginonly.The guide maps every option, notes that the minimizers and generators keep their names (so only the plugin they are read off changes), and calls out the two shapes that changed rather than moved: generators are named there instead of listed, and
type: "asset"— the default here — has to be written out there.What kind of change does this PR introduce?
docs
Did you add tests for your changes?
n/a — documentation only.
Does this PR introduce a breaking change?
No. Nothing in the code changes; the plugin keeps working as it does today.
If relevant, what needs to be documented once your changes are merged or what have you already documented?
The migration guide is in this PR. Still to do outside it:
npm deprecateon the package, pointing atminimizer-webpack-plugin.Use of AI
Claude Code wrote the README changes and the option mapping, working from both plugins' schemas and sources; I reviewed them before submitting.
🤖 Generated with Claude Code
https://claude.ai/code/session_016TQeNpahUSDUjD2Crugy5H
Generated by Claude Code