docs: compression-webpack-plugin is folded into minimizer-webpack-plugin - #8415
Conversation
Its page redirects to the section showing compression with and without minifying, the way the other folded minimizers already do.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
WalkthroughThe change removes standalone Priority: ⬇️ Low Merge Risk: 🔵 Low · up to The existing compression-plugin URL can redirect users to a missing documentation page; correcting the target is advisable before merge. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning Some tools did not complete. Review the errors below. 🔧 ESLint
src/content/plugins/index.mdxtypescript-eslint does not support TS 7.0. Oops! Something went wrong! :( ESLint: 9.39.5 Error: typescript-eslint does not support TS 7.0. src/utilities/constants.mjsESLint skipped: the matched ESLint configuration already failed (config-incompatibility). webpack.ssg.mjsESLint skipped: the matched ESLint configuration already failed (config-incompatibility). Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Advanced
Run ID: bfb27714-6117-4e06-b6b6-bc9857ce6600
📒 Files selected for processing (4)
src/content/awesome-webpack.mdxsrc/content/plugins/index.mdxsrc/utilities/constants.mjswebpack.ssg.mjs
💤 Files with no reviewable changes (1)
- src/content/awesome-webpack.mdx
Included review availability: Your plan provides up to 8 included reviews per hour; 7 remain after this review.
Summary
compression-webpack-pluginis deprecated:minimizer-webpack-plugincompresses now, throughMinimizerPlugin.compressas anassetgenerator, so minifying and compressing are one plugin over one pass and one cache. This treats it the way the site already treats the other folded minimizers — excluded from the generated plugin pages, and redirected.The redirect points at the section showing both shapes, since that is the question anyone arriving from the old page has:
/plugins/minimizer-webpack-plugin/#compressing-with-minifying-and-without. TheMinimizerPluginrow in the plugins index links there too, and the plugin's entries in the index table and in Awesome webpack are removed.Depends on webpack/compression-webpack-plugin#436 and webpack/minimizer-webpack-plugin#743, which add the deprecation notice and that section.
What kind of change does this PR introduce?
docs.
Did you add tests for your changes?
n/a.
Does this PR introduce a breaking change?
No.
/plugins/compression-webpack-pluginkeeps working, as a redirect.If relevant, what needs to be documented once your changes are merged or what have you already documented?
Documented here.
Use of AI
Claude Code was used for this change and description.
Generated by Claude Code
Summary by CodeRabbit
Documentation
Bug Fixes