# What changed in mini-css-extract-plugin

> 5 changes in mini-css-extract-plugin 2 from its official release notes, upgrade guides and advisories. Each one cited. Sources checked 2026-10-18. HTML: https://unstale.sh/npm/mini-css-extract-plugin/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## mini-css-extract-plugin 2

### Behavior and default changes

- Uses matchResource for importModule when available. (2.10.2) — [release notes](https://github.com/webpack/mini-css-extract-plugin/releases/tag/v2.10.2)

### Fixes and other changes

- Handles a null module.layer in renderContentAsset. (2.10.1) — [release notes](https://github.com/webpack/mini-css-extract-plugin/releases/tag/v2.10.1)
- Prevents generation of a contentHash for a chunk when it has no CSS modules. (2.10.0) — [release notes](https://github.com/webpack/mini-css-extract-plugin/releases/tag/v2.10.0)
- The plugin now respects output.cssChunkFilename. (2.10.0) — [release notes](https://github.com/webpack/mini-css-extract-plugin/releases/tag/v2.10.0)
- The plugin now respects output.cssFilename. (2.10.0) — [release notes](https://github.com/webpack/mini-css-extract-plugin/releases/tag/v2.10.0)
