Skip to content

docs: drop the built-in-superseded loaders and plugins from the indexes - #8344

Merged
alexander-akait merged 5 commits into
mainfrom
claude/webpack-docs-migration-guides-q3s7v3
Aug 30, 2026
Merged

docs: drop the built-in-superseded loaders and plugins from the indexes#8344
alexander-akait merged 5 commits into
mainfrom
claude/webpack-docs-migration-guides-q3s7v3

Conversation

@alexander-akait

Copy link
Copy Markdown
Member

Summary

Follow-up to #8342. /loaders/ and /plugins/ still listed css-loader, style-loader, html-loader, MiniCssExtractPlugin and HtmlWebpackPlugin among the packages you install, even though webpack now does that work itself — this removes them, the same treatment file-loader, url-loader and raw-loader got when Asset Modules replaced them.

The T> note above each list now says why the entry is gone and links to the package's page, so the options with no built-in equivalent (css-loader's importLoaders / getJSON, style-loader's insert and lazy modes, html-webpack-plugin's hooks) stay findable — the What's built-in tables cite exactly those. The pages themselves are kept: twelve links from configuration/module, configuration/output, output-management and the 2026 roadmap post point at them, and plenty of plugin pages (split-chunks-plugin, module-federation-plugin) already exist without a row in that table.

What kind of change does this PR introduce?

docs

Did you add tests for your changes?

No — documentation only. prettier, markdownlint and eslint are clean across the repo and jest passes 25/25 suites, 97 tests.

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. The matching README change is webpack/webpack#21855.

Use of AI

This PR was prepared with Claude Code. The entries removed were checked against the What's built-in scope tables, and every link target was confirmed to be a page that is still generated and still linked from elsewhere in the docs before deciding to keep it. All output was reviewed before committing.


Generated by Claude Code

css-loader, style-loader, html-loader, MiniCssExtractPlugin and
HtmlWebpackPlugin are no longer listed on /loaders/ and /plugins/, the
same treatment file-loader, url-loader and raw-loader got when asset
modules replaced them. Each page stays reachable and is linked from the
note that replaces its entry, so the options with no built-in equivalent
are still documented.
@vercel

vercel Bot commented Aug 29, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
webpack-js-org Ready Ready Preview Aug 30, 2026 3:14pm

Request Review

The guide series builds its CSS with the built-in support, so production's
devDependencies listed css-loader and style-loader that nothing installs.
output.mdx sent readers to css-loader's docs for localIdentName, which
webpack has as a generator option. The UseEntry and kebab-case examples
and the awesome-webpack ecosystem list named them where any loader would
do.
…tractPlugin

The site documents native CSS but did not use it. The rule keeps
postcss-loader for Tailwind and hands the result to webpack via
type: css/auto; output.cssFilename reproduces the plugin's names.

Verified against the previous config: 382 emitted files and 188 pages
both ways, the vendor stylesheet byte-identical (97fc31c3662cb803), and
index.css differing by two bytes because webpack quotes the @import url.
The stray stylesheet the SSG pass emits drops from 48.6 KB to 177 B.
webpack minifies CSS itself and deliberately steps aside when another
minimizer claims those assets, so the plugin was displacing it. Dropping
it is a gzip win on both stylesheets: vendor 5939 -> 5884 B and the main
sheet 13181 -> 13130 B, 106 B less over the wire.

The ssg pass replaced the default minimizers rather than extending them,
so its server bundle was never minified and the stylesheet it emits is
unreferenced; it now says minimize: false instead.

All 188 pages stay byte-identical and the emitted file list is unchanged.
bjohansebas
bjohansebas previously approved these changes Aug 29, 2026
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedwebpack@​5.110.0 ⏵ 5.110.29310093 +199100

View full report

@alexander-akait
alexander-akait merged commit e6fb0b5 into main Aug 30, 2026
11 checks passed
@alexander-akait
alexander-akait deleted the claude/webpack-docs-migration-guides-q3s7v3 branch August 30, 2026 16:26
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.

2 participants