Skip to content
This repository was archived by the owner on Aug 27, 2026. It is now read-only.

docs: deprecate mini-css-extract-plugin in favor of webpack's built-in CSS support - #1166

Merged
alexander-akait merged 2 commits into
mainfrom
claude/css-html-loader-deprecation-ec783u
Aug 27, 2026
Merged

docs: deprecate mini-css-extract-plugin in favor of webpack's built-in CSS support#1166
alexander-akait merged 2 commits into
mainfrom
claude/css-html-loader-deprecation-ec783u

Conversation

@alexander-akait

Copy link
Copy Markdown
Member

Summary

webpack extracts CSS into separate files itself: experiments.css defaults to "auto" since 5.109.0, extraction is the built-in default, and output.cssFilename / output.cssChunkFilename replace this plugin's filename and chunkFilename. Adds a deprecation notice at the top of the README linking the Native CSS guide, its migration guide and the codemod.

What kind of change does this PR introduce?

docs

Did you add tests for your changes?

n/a — README and .cspell.json only, no code change.

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?

Nothing further — https://webpack.js.org/plugins/mini-css-extract-plugin/ is generated from this README, so the notice appears there on the next docs build. The /plugins index already marks the plugin deprecated.

Use of AI

Yes — Claude Code drafted the notice and checked every linked anchor against the guides in webpack.js.org and the experiments.css version against webpack's schema and changelog. Reviewed and edited by me before pushing.


Generated by Claude Code

…n CSS support

Extraction is the built-in default, with output.cssFilename and
output.cssChunkFilename replacing the plugin's options. Point the README
at the Native CSS guide and its migration guide on webpack.js.org.
@codecov

codecov Bot commented Aug 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.31%. Comparing base (d50f981) to head (f07823c).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1166   +/-   ##
=======================================
  Coverage   85.31%   85.31%           
=======================================
  Files           5        5           
  Lines        1049     1049           
  Branches      314      314           
=======================================
  Hits          895      895           
  Misses        130      130           
  Partials       24       24           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Drop the codemod suggestion and the per-option mapping from the README
notice; the migration guide is the place that tracks both.
@alexander-akait
alexander-akait merged commit 197b644 into main Aug 27, 2026
16 of 49 checks passed
@alexander-akait
alexander-akait deleted the claude/css-html-loader-deprecation-ec783u branch August 27, 2026 16:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant