Skip to content
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 into
mainfrom
docs/deprecate-in-favor-of-minimizer-plugin
Sep 6, 2026
Merged

docs: deprecate in favor of minimizer-webpack-plugin#514
alexander-akait merged 3 commits into
mainfrom
docs/deprecate-in-favor-of-minimizer-plugin

Conversation

@alexander-akait

Copy link
Copy Markdown
Member

Summary

Adds a deprecation notice under the title and a Migrating to minimizer-webpack-plugin section, 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 in minimizer-webpack-plugin only.

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 deprecate on the package, pointing at minimizer-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

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

codecov Bot commented Sep 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.85%. Comparing base (e20ec25) to head (1e43115).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

alexander-akait and others added 2 commits September 5, 2026 17:04
`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
alexander-akait merged commit 2af9628 into main Sep 6, 2026
19 checks passed
@alexander-akait
alexander-akait deleted the docs/deprecate-in-favor-of-minimizer-plugin branch September 6, 2026 11:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant