Skip to content

docs: modernize loader example using css-loader#8088

Open
ryzrr wants to merge 1 commit intowebpack:mainfrom
ryzrr:fix/asset-module-ghost
Open

docs: modernize loader example using css-loader#8088
ryzrr wants to merge 1 commit intowebpack:mainfrom
ryzrr:fix/asset-module-ghost

Conversation

@ryzrr
Copy link
Contributor

@ryzrr ryzrr commented Mar 21, 2026

Summary
Replaced the deprecated raw-loader example with the actively supported css-loader in the Concepts documentation.

What kind of change does this PR introduce?
Updated the "Loaders" section in src/content/concepts/index.mdx to reflect modern Webpack conventions. The example previously contained dead code (raw-loader) which has natively been replaced by Webpack 5 Asset Modules. I swapped it out for css-loader to perfectly maintain the purpose of the use property example without breaking the context of the guide.

Did you add tests for your changes?
No

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

Use of AI
N/A

@vercel
Copy link

vercel bot commented Mar 21, 2026

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

Project Deployment Actions Updated (UTC)
webpack-js-org Ready Ready Preview, Comment Mar 21, 2026 2:32pm

Request Review

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