Skip to content

docs: compression-webpack-plugin is folded into minimizer-webpack-plugin - #8415

Merged
alexander-akait merged 1 commit into
mainfrom
docs/compression-plugin-folded
Sep 19, 2026
Merged

alexander-akait merged 1 commit into
mainfrom
docs/compression-plugin-folded

Conversation

@alexander-akait

@alexander-akait alexander-akait commented Sep 18, 2026

Copy link
Copy Markdown
Member

Summary

compression-webpack-plugin is deprecated: minimizer-webpack-plugin compresses now, through MinimizerPlugin.compress as an asset generator, 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. The MinimizerPlugin row 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-plugin keeps 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

    • Removed the standalone Compression Plugin entry from the Webpack Plugins resources and plugin table.
    • Updated the Minimizer Plugin description to explain its minification and compression capabilities, with a link to compression guidance.
    • Reformatted the Output and assets plugin table for improved readability.
  • Bug Fixes

    • Added a redirect from the former Compression Plugin documentation URL to the relevant Minimizer Plugin compression section.

Its page redirects to the section showing compression with and without minifying, the way the other folded minimizers already do.
@vercel

vercel Bot commented Sep 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
webpack-js-org Ready Ready Preview Sep 18, 2026 6:25pm UTC

Request Review

@coderabbitai

coderabbitai Bot commented Sep 18, 2026

Copy link
Copy Markdown

Review Change StackReview Change Stack

Walkthrough

The change removes standalone CompressionWebpackPlugin entries from the resource and plugin documentation. It updates the MinimizerPlugin description to include compression support. It excludes the compression plugin from generated plugin data and redirects its documentation URL to the corresponding minimizer plugin section.

Priority: ⬇️ Low

Merge Risk: 🔵 Low · up to 8b94e

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)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main documentation change: folding compression-webpack-plugin into minimizer-webpack-plugin.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 2…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

Warning

Some tools did not complete. Review the errors below.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

src/content/plugins/index.mdx

typescript-eslint does not support TS 7.0.
Please see https://devblogs.microsoft.com/typescript/announcing-typescript-7-0/#running-side-by-side-with-typescript-6.0 to run typescript-eslint using the TS 6 API.
See also typescript-eslint/typescript-eslint#10940 for tracking typescript-eslint's support for TS >=7.1

Oops! Something went wrong! :(

ESLint: 9.39.5

Error: typescript-eslint does not support TS 7.0.
at Object. (/.eslint-tmp/node_modules/@typescript-eslint/eslint-plugin/dist/index.js:50:11)
at Module._compile (node:internal/modules/cjs/loader:1830:14)
at Object..js (node:internal/modules/cjs/loader:1961:10)
at Module.load (node:internal/modules/cjs/loader:1553:32)
at Module._load (node:internal/modules/cjs/loader:1355:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
at Module.require (node:internal/modules/cjs/loader:1576:12)
at require (node:internal/modules/helpers:153:16)
at /.eslint-tmp/node_modules/eslint-plugin-jest/lib/rules/unbound-method.js:13:28
at Object. (/.eslint-tmp/node_modules/eslint-plugin-jest/lib/rules/unbound-method.js:22:3)

src/utilities/constants.mjs

ESLint skipped: the matched ESLint configuration already failed (config-incompatibility).

webpack.ssg.mjs

ESLint 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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1


ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: bfb27714-6117-4e06-b6b6-bc9857ce6600

📥 Commits

Reviewing files that changed from the base of the PR and between 71ad837 and 8b94e67.

📒 Files selected for processing (4)
  • src/content/awesome-webpack.mdx
  • src/content/plugins/index.mdx
  • src/utilities/constants.mjs
  • webpack.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.

Comment thread webpack.ssg.mjs
@alexander-akait
alexander-akait merged commit fd12c55 into main Sep 19, 2026
15 of 16 checks passed
@alexander-akait
alexander-akait deleted the docs/compression-plugin-folded branch September 19, 2026 13:41

This branch was successfully deployed

1 active deployment
Preview 8b94e67d Deployed Sep 18, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant