Skip to content

docs: group the plugins index by purpose and list the missing plugin pages - #8377

Merged
alexander-akait merged 1 commit into
mainfrom
docs/plugins-index-grouping
Sep 11, 2026
Merged

alexander-akait merged 1 commit into
mainfrom
docs/plugins-index-grouping

Conversation

@alexander-akait

Copy link
Copy Markdown
Member

Summary

#3726 asked for the plugins list to be grouped by what the plugins do, rather than one flat alphabetical table. Checking it now turned up a second, larger problem: the table had drifted out of sync with the pages.

Eleven plugin pages exist on the site but were not listed on /plugins/ at all — SplitChunksPlugin, ModuleFederationPlugin, ModuleConcatenationPlugin, ManifestPlugin, VirtualUrlPlugin, ProfilingPlugin, PrefetchPlugin, AutomaticPrefetchPlugin, ContextExclusionPlugin, WatchIgnorePlugin and HashedModuleIdsPlugin. They were reachable only by direct URL or search, which is the same "I can't find the plugin I need" complaint the issue opens with. All are now listed.

The table is split into Sources and modules, Output and assets, Chunks and optimization, Module Federation, and Development and diagnostics. The original issue proposed grouping by capability and a maintainer countered that most plugins would fall into Others; five groups of 7–11 rows each turned out to divide cleanly, so no Others bucket was needed.

Where a configuration option now does the same job, the row says so and links it (optimization.splitChunks, optimization.concatenateModules, optimization.moduleIds), since that is the part of "which plugin do I need?" most often answered with "none".

A correction. The HashedModuleIdsPlugin page said "Suggested for use in production". That advice is now wrong in both directions: optimization.moduleIds already defaults to 'deterministic' in production, and selecting the equivalent optimization.moduleIds: 'hashed' makes webpack emit a deprecation warning naming 'deterministic' as the replacement (WarnDeprecatedOptionPlugin in lib/WebpackOptionsApply.js). The page now points at the option instead.

Also checked while here, and deliberately not changed: the deprecated contrib plugins (extract-text-webpack-plugin, uglifyjs-webpack-plugin, babel-minify-webpack-plugin, i18n-webpack-plugin, …) are already suppressed from the generated list by excludedPlugins in src/utilities/constants.mjs, and of the packages still linked, only extract-text-webpack-plugin carries an npm deprecation flag — it is one of the excluded ones. copy-webpack-plugin is not npm-deprecated, so its row now reads "superseded by the built-in CopyPlugin" rather than "deprecated".

Closes #3726

What kind of change does this PR introduce?

docs

Did you add tests for your changes?

n/a — documentation only; lint, prettier, markdownlint and the jest suite pass locally, and every page and anchor referenced from the new table was checked to exist.

Does this PR introduce a breaking change?

No.

If relevant, what needs to be documented once your changes are merged or what have you already documented?

n/a — this PR is the documentation.

Use of AI

Claude Code was used to diff the plugin pages against the index table, to check each plugin's status against webpack's own exports and schema (lib/index.js, schemas/WebpackOptions.json, lib/WebpackOptionsApply.js) and against the npm registry for deprecation flags, and to draft the regrouped table. The claims about what is deprecated or superseded come from those sources rather than from assumption; one draft sentence that promised a "built in" marking the table did not have was caught and rewritten before committing.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Cb4AP4BntRzji5vSqhzYWT


Generated by Claude Code

@vercel

vercel Bot commented Sep 11, 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 11, 2026 10:27am UTC

Request Review

@alexander-akait
alexander-akait merged commit b41dc2c into main Sep 11, 2026
12 checks passed
@alexander-akait
alexander-akait deleted the docs/plugins-index-grouping branch September 11, 2026 12:08

This branch was successfully deployed

1 active deployment
Preview — 5e747daf Deployed Sep 11, 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.

Suggestion for documentation about plugins.

1 participant