---
title: "mini-css-extract-plugin 2.10.0 Breaking Changes on npm"
description: "What each mini-css-extract-plugin release removed, renamed or changed: 58 breaking changes in 6 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/mini-css-extract-plugin
last_updated: 2026-12-04
---

# mini-css-extract-plugin breaking changes

mini-css-extract-plugin 2.10.0 (January 16, 2026) is its newest release with breaking changes, 3 of them. The first: Behavior changed output.cssFilename. Every breaking API change we have recorded in mini-css-extract-plugin on npm: 58 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.10.2`, released March 26, 2026. [Source repository](https://github.com/webpack/mini-css-extract-plugin)

Its 2.0.0 release requires Node.js 12.13.0 or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [1.0.0](#v-1-0-0) to [2.10.0](#v-2-10-0): 52 breaking changes in 5 versions.

## mini-css-extract-plugin 2.10.0 breaking changes

mini-css-extract-plugin 2.10.0, released January 16, 2026: 3 breaking changes.

- **Behavior changed** `output.cssFilename`  

The plugin now respects webpack's output.cssFilename and output.cssChunkFilename options, so generated CSS file names may change for existing builds that set them. [github.com](https://github.com/webpack/mini-css-extract-plugin/releases/tag/v2.10.0)
- **Signature changed** `NormalizedPluginOptions`  

Was type NormalizedPluginOptions = {filename: Filename; chunkFilename?: ChunkFilename | undefined; ignoreOrder: boolean; insert?: (string | ((linkTag: HTMLLinkElement) => void)) | undefined; attributes?: Record\<string, string> | undefined... [npmjs.com](https://www.npmjs.com/package/mini-css-extract-plugin/v/2.10.0)
- **Signature changed** `NormalizedPluginOptions.filename`  

Was filename: Filename; now filename?: Filename | undefined. [npmjs.com](https://www.npmjs.com/package/mini-css-extract-plugin/v/2.10.0)

## mini-css-extract-plugin 2.9.4 breaking changes

mini-css-extract-plugin 2.9.4, released August 11, 2025: 29 breaking changes.

- **Removed** `TODO`  

TODO was removed in mini-css-extract-plugin 2.9.4 [npmjs.com](https://www.npmjs.com/package/mini-css-extract-plugin/v/2.9.4)
- **Signature changed** `ChunkGroup`  

Was type ChunkGroup = Parameters\<import("webpack").Chunk\["isInGroup"\]>\[0\]; now type ChunkGroup = import("webpack").ChunkGroup. [npmjs.com](https://www.npmjs.com/package/mini-css-extract-plugin/v/2.9.4)
- **Signature changed** `CssDependencyConstructor`  

Was type CssDependencyConstructor = new (loaderDependency: CssDependencyOptions, context: string | null, identifierIndex: number) => CssDependency; now type CssDependencyConstructor = {new (loaderDependency: CssDependencyOptions, context... [npmjs.com](https://www.npmjs.com/package/mini-css-extract-plugin/v/2.9.4)
- **Signature changed** `CssDependencyOptions.media`  

Was media: string; now media?: string | undefined. [npmjs.com](https://www.npmjs.com/package/mini-css-extract-plugin/v/2.9.4)
- **Signature changed** `CssModule`  

Was type CssModule = import("webpack").Module & {content: Buffer; media?: string | undefined; sourceMap?: Buffer | undefined; supports?: string | undefined; layer?: string | undefined; assets?: | {\[key: string\]: any;} | undefined... [npmjs.com](https://www.npmjs.com/package/mini-css-extract-plugin/v/2.9.4)
- **Signature changed** `CssModuleConstructor`  

Was type CssModuleConstructor = new (dependency: CssModuleDependency) => CssModule; now type CssModuleConstructor = {new (dependency: CssModuleDependency): CssModule;}. [npmjs.com](https://www.npmjs.com/package/mini-css-extract-plugin/v/2.9.4)
- **Signature changed** `CssModuleDependency`  

Was type CssModuleDependency = {context: string | null; identifier: string; identifierIndex: number; content: Buffer; sourceMap?: Buffer | undefined; media?: string | undefined; supports?: string | undefined; layer?: TODO; assetsInfo?... [npmjs.com](https://www.npmjs.com/package/mini-css-extract-plugin/v/2.9.4)
- **Signature changed** `CssModuleDependency.assets`  

Was assets?: | {\[key: string\]: any;} | undefined; now assets?: {\[key: string\]: Source;}. [npmjs.com](https://www.npmjs.com/package/mini-css-extract-plugin/v/2.9.4)
- **Signature changed** `CssModuleDependency.assetsInfo`  

Was assetsInfo?: Map\<string, import("webpack").AssetInfo> | undefined; now assetsInfo?: Map\<string, AssetInfo>. [npmjs.com](https://www.npmjs.com/package/mini-css-extract-plugin/v/2.9.4)
- **Signature changed** `CssModuleDependency.layer`  

Was layer?: TODO; now layer?: any. [npmjs.com](https://www.npmjs.com/package/mini-css-extract-plugin/v/2.9.4)

And 19 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## mini-css-extract-plugin 2.9.0 breaking changes

mini-css-extract-plugin 2.9.0, released April 16, 2024: 2 breaking changes.

- **Signature changed** `LoaderOptions`  

Was type LoaderOptions = {publicPath?: | string | ((resourcePath: string, rootContext: string) => string) | undefined; emit?: boolean | undefined; esModule?: boolean | undefined; layer?: string | undefined;}; now type LoaderOptions =... [npmjs.com](https://www.npmjs.com/package/mini-css-extract-plugin/v/2.9.0)
- **Signature changed** `MiniCssExtractPluginCompilationHooks`  

Was type MiniCssExtractPluginCompilationHooks = {beforeTagInsert: import("tapable").SyncWaterfallHook<\[string, VarNames\], string>;}; now type MiniCssExtractPluginCompilationHooks = {beforeTagInsert... [npmjs.com](https://www.npmjs.com/package/mini-css-extract-plugin/v/2.9.0)

## mini-css-extract-plugin 2.8.0 breaking changes

mini-css-extract-plugin 2.8.0, released February 1, 2024: 1 breaking change.

- **Behavior changed** `named exports`  

Named CSS exports can now use names with any characters; code relying on the previous restriction on export names may behave differently. [github.com](https://github.com/webpack/mini-css-extract-plugin/releases/tag/v2.8.0)

## mini-css-extract-plugin 2.0.0 breaking changes

mini-css-extract-plugin 2.0.0, released June 30, 2021: 17 breaking changes.

- **Removed** `LoaderOptions.modules`  

LoaderOptions.modules was removed in mini-css-extract-plugin 2.0.0 [npmjs.com](https://www.npmjs.com/package/mini-css-extract-plugin/v/2.0.0)
- **Removed** `modules.namedExport`  

The modules.namedExport option was removed from the plugin; remove it, since css-loader's modules.namedExport option is respected instead. [github.com](https://github.com/webpack/mini-css-extract-plugin/releases/tag/v2.0.0)
- **Behavior changed** `publicPath`  

The publicPath option no longer appends a trailing slash; add it yourself when it is missing. [github.com](https://github.com/webpack/mini-css-extract-plugin/releases/tag/v2.0.0)
- **Default changed** `publicPath`  

Relative URLs are now generated by default; set publicPath explicitly if you relied on the old default. [github.com](https://github.com/webpack/mini-css-extract-plugin/releases/tag/v2.0.0)
- **Configuration changed**  

The plugin no longer supports webpack 4; upgrade webpack to 5.0.0 or newer. [github.com](https://github.com/webpack/mini-css-extract-plugin/releases/tag/v2.0.0)
- **Configuration changed**  

The minimum supported Node.js version is now 12.13.0. [github.com](https://github.com/webpack/mini-css-extract-plugin/releases/tag/v2.0.0)
- **Signature changed** `LoaderOptions.emit`  

Was emit?: boolean; now emit?: boolean | undefined. [npmjs.com](https://www.npmjs.com/package/mini-css-extract-plugin/v/2.0.0)
- **Signature changed** `LoaderOptions.esModule`  

Was esModule?: boolean; now esModule?: boolean | undefined. [npmjs.com](https://www.npmjs.com/package/mini-css-extract-plugin/v/2.0.0)
- **Signature changed** `LoaderOptions.layer`  

Was layer?: string; now layer?: string | undefined. [npmjs.com](https://www.npmjs.com/package/mini-css-extract-plugin/v/2.0.0)
- **Signature changed** `LoaderOptions.publicPath`  

Was publicPath?: string | ((resourcePath: string, context: string) => string); now publicPath?: string | ((resourcePath: string, context: string) => string) | undefined. [npmjs.com](https://www.npmjs.com/package/mini-css-extract-plugin/v/2.0.0)

And 7 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## mini-css-extract-plugin 1.0.0 breaking changes

mini-css-extract-plugin 1.0.0, released October 9, 2020: 6 breaking changes.

- **Removed**  

The minimum supported Node.js version is now 10.13.0. Users on older Node.js versions must upgrade before using this release. [github.com](https://github.com/webpack/mini-css-extract-plugin/releases/tag/v1.0.0)
- **Removed** `hmr`  

The hmr option was removed. Hot module replacement now works automatically with the HotModuleReplacement plugin or webpack-dev-server with the hot option enabled. [github.com](https://github.com/webpack/mini-css-extract-plugin/releases/tag/v1.0.0)
- **Removed** `PluginOptions.moduleFilename`  

The moduleFilename option was removed. Use the filename option instead. [npmjs.com](https://www.npmjs.com/package/mini-css-extract-plugin/v/1.0.0)
- **Removed** `reloadAll`  

The reloadAll option was removed and no replacement is named in the notes. [github.com](https://github.com/webpack/mini-css-extract-plugin/releases/tag/v1.0.0)
- **Default changed** `esModule`  

CSS modules are now exported as ES modules by default. Change require('./styles.css') to import statements, and upgrade style-loader to 2.0.0 to avoid conflicts. [github.com](https://github.com/webpack/mini-css-extract-plugin/releases/tag/v1.0.0)
- **Signature changed** `PluginOptions.filename`  

Was filename?: string; now filename?: string | ((chunkData: ChunkData) => string). [npmjs.com](https://www.npmjs.com/package/mini-css-extract-plugin/v/1.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
