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
On this page
Latest version 2.10.2, released March 26, 2026. Source repository
Its 2.0.0 release requires Node.js 12.13.0 or later. Node.js end of life dates.
mini-css-extract-plugin 2.10.0 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 - 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 - Signature changed
NormalizedPluginOptions.filename
Was filename: Filename; now filename?: Filename | undefined. npmjs.com
mini-css-extract-plugin 2.9.4 breaking changes
- Removed
TODO
TODO was removed in mini-css-extract-plugin 2.9.4 npmjs.com - Signature changed
ChunkGroup
Was type ChunkGroup = Parameters<import("webpack").Chunk["isInGroup"]>[0]; now type ChunkGroup = import("webpack").ChunkGroup. npmjs.com - Signature changed
CssDependencyConstructor
Was type CssDependencyConstructor = new (loaderDependency: CssDependencyOptions, context: string | null, identifierIndex: number) => CssDependency; now type CssDependencyConstructor = {new (loaderDependency: CssDependencyOptions, context... npmjs.com - Signature changed
CssDependencyOptions.media
Was media: string; now media?: string | undefined. npmjs.com - 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 - Signature changed
CssModuleConstructor
Was type CssModuleConstructor = new (dependency: CssModuleDependency) => CssModule; now type CssModuleConstructor = {new (dependency: CssModuleDependency): CssModule;}. npmjs.com - 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 - Signature changed
CssModuleDependency.assets
Was assets?: | {[key: string]: any;} | undefined; now assets?: {[key: string]: Source;}. npmjs.com - Signature changed
CssModuleDependency.assetsInfo
Was assetsInfo?: Map<string, import("webpack").AssetInfo> | undefined; now assetsInfo?: Map<string, AssetInfo>. npmjs.com - Signature changed
CssModuleDependency.layer
Was layer?: TODO; now layer?: any. npmjs.com
And 19 more in this version. Sign up to see every change
mini-css-extract-plugin 2.9.0 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 - Signature changed
MiniCssExtractPluginCompilationHooks
Was type MiniCssExtractPluginCompilationHooks = {beforeTagInsert: import("tapable").SyncWaterfallHook<[string, VarNames], string>;}; now type MiniCssExtractPluginCompilationHooks = {beforeTagInsert... npmjs.com
mini-css-extract-plugin 2.8.0 breaking changes
- 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
mini-css-extract-plugin 2.0.0 breaking changes
- Removed
LoaderOptions.modules
LoaderOptions.modules was removed in mini-css-extract-plugin 2.0.0 npmjs.com - 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 - Behavior changed
publicPath
The publicPath option no longer appends a trailing slash; add it yourself when it is missing. github.com - Default changed
publicPath
Relative URLs are now generated by default; set publicPath explicitly if you relied on the old default. github.com - Configuration changed
The plugin no longer supports webpack 4; upgrade webpack to 5.0.0 or newer. github.com - Configuration changed
The minimum supported Node.js version is now 12.13.0. github.com - Signature changed
LoaderOptions.emit
Was emit?: boolean; now emit?: boolean | undefined. npmjs.com - Signature changed
LoaderOptions.esModule
Was esModule?: boolean; now esModule?: boolean | undefined. npmjs.com - Signature changed
LoaderOptions.layer
Was layer?: string; now layer?: string | undefined. npmjs.com - Signature changed
LoaderOptions.publicPath
Was publicPath?: string | ((resourcePath: string, context: string) => string); now publicPath?: string | ((resourcePath: string, context: string) => string) | undefined. npmjs.com
And 7 more in this version. Sign up to see every change
mini-css-extract-plugin 1.0.0 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 - 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 - Removed
PluginOptions.moduleFilename
The moduleFilename option was removed. Use the filename option instead. npmjs.com - Removed
reloadAll
The reloadAll option was removed and no replacement is named in the notes. github.com - 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 - Signature changed
PluginOptions.filename
Was filename?: string; now filename?: string | ((chunkData: ChunkData) => string). npmjs.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.