npm / mini-css-extract-plugin
mini-css-extract-plugin
What changed in mini-css-extract-plugin 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.
1 behavior and defaults4 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initmini-css-extract-plugin 25 changes
Behavior and default changes 1
Uses matchResource for importModule when available.
Fixes and other changes 4
Handles a null module.layer in renderContentAsset.
Prevents generation of a contentHash for a chunk when it has no CSS modules.
The plugin now respects output.cssChunkFilename.
The plugin now respects output.cssFilename.