webpack breaking changes
Updated December 4, 2026
On this page
Latest version 5.113.0, released November 19, 2026. Source repository
Its 4.0.0 release drops Node.js 4. Node.js end of life dates.
- From 4.0.0 to 5.113.0: 2,681 breaking changes in 83 versions.
- From 3.0.0 to 5.113.0: 2,891 breaking changes in 84 versions.
webpack 5.113.0 breaking changes
- Removed
experiments.typescript
experiments.typescript was removed in webpack 5.113.0 npmjs.com - Removed
html.syntax.parser.BLOCK_CONTENTS
html.syntax.parser.BLOCK_CONTENTS was removed in webpack 5.113.0 npmjs.com - Removed
html.syntax.parser.EMBEDDED_LANGUAGES
html.syntax.parser.EMBEDDED_LANGUAGES was removed in webpack 5.113.0 npmjs.com - Removed
html.syntax.parser.EVENT_HANDLER
html.syntax.parser.EVENT_HANDLER was removed in webpack 5.113.0 npmjs.com - Removed
html.syntax.parser.JSON_TYPE
html.syntax.parser.JSON_TYPE was removed in webpack 5.113.0 npmjs.com - Removed
html.syntax.parser.SVG_TYPE
html.syntax.parser.SVG_TYPE was removed in webpack 5.113.0 npmjs.com - Removed
html.syntax.printer.CLASSIC_SCRIPT
html.syntax.printer.CLASSIC_SCRIPT was removed in webpack 5.113.0 npmjs.com - Removed
html.syntax.printer.MODULE_SCRIPT
html.syntax.printer.MODULE_SCRIPT was removed in webpack 5.113.0 npmjs.com - Removed
javascript.JavascriptParser.extend
JavascriptParser.extend was removed; code calling it must be changed. npmjs.com - Removed
javascript.syntax.parser.BIND_FUNCTION
javascript.syntax.parser.BIND_FUNCTION was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.BIND_LEXICAL
javascript.syntax.parser.BIND_LEXICAL was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.BIND_NONE
javascript.syntax.parser.BIND_NONE was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.BIND_OUTSIDE
javascript.syntax.parser.BIND_OUTSIDE was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.BIND_SIMPLE_CATCH
javascript.syntax.parser.BIND_SIMPLE_CATCH was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.BIND_VAR
javascript.syntax.parser.BIND_VAR was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.BLOCK_DECLARATIONS
javascript.syntax.parser.BLOCK_DECLARATIONS was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.buildLineStarts
javascript.syntax.parser.buildLineStarts was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.declaresIntoBlock
javascript.syntax.parser.declaresIntoBlock was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.defaultOptions.directSourceFile
javascript.syntax.parser.defaultOptions.directSourceFile was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.defaultOptions.program
javascript.syntax.parser.defaultOptions.program was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.defaultOptions.startLocation
javascript.syntax.parser.defaultOptions.startLocation was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.DestructuringErrors
javascript.syntax.parser.DestructuringErrors was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.functionFlags
javascript.syntax.parser.functionFlags was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.HOISTED_DECLARATIONS
javascript.syntax.parser.HOISTED_DECLARATIONS was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.isLocalVariableAccess
javascript.syntax.parser.isLocalVariableAccess was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.isPrivateFieldAccess
javascript.syntax.parser.isPrivateFieldAccess was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.Label
javascript.syntax.parser.Label was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.lineBreakG
javascript.syntax.parser.lineBreakG was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.MAX_MASKED_INDEX
javascript.syntax.parser.MAX_MASKED_INDEX was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.MODULE_DECLARATIONS
javascript.syntax.parser.MODULE_DECLARATIONS was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.overflowFrom
javascript.syntax.parser.overflowFrom was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.parse
javascript.syntax.parser.parse was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.Parser.adaptDirectivePrologue
Parser.adaptDirectivePrologue was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.Parser.afterTrailingComma
Parser.afterTrailingComma was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.Parser.allowDirectSuper
Parser.allowDirectSuper was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.Parser.allowNewDotTarget
Parser.allowNewDotTarget was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.Parser.allowReturn
Parser.allowReturn was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.Parser.allowSuper
Parser.allowSuper was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.Parser.allowUsing
Parser.allowUsing was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.Parser.buildBinary
Parser.buildBinary was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.Parser.canAwait
Parser.canAwait was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.Parser.canInsertSemicolon
Parser.canInsertSemicolon was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.Parser.catchStackOverflow
Parser.catchStackOverflow was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.Parser.checkExport
Parser.checkExport was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.Parser.checkExpressionErrors
Parser.checkExpressionErrors was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.Parser.checkLocalExport
Parser.checkLocalExport was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.Parser.checkLValInnerPattern
Parser.checkLValInnerPattern was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.Parser.checkLValPattern
Parser.checkLValPattern was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.Parser.checkLValSimple
Parser.checkLValSimple was removed in webpack 5.113.0 npmjs.com - Removed
javascript.syntax.parser.Parser.checkParams
Parser.checkParams was removed in webpack 5.113.0 npmjs.com
And 407 more in this version. Sign up to see every change
webpack 5.112.1 breaking changes
- Behavior changed
HTML srcset values that include a second descriptor after a 0x density descriptor are now rejected. Check existing srcset markup for that pattern. github.com - Signature changed
AsyncDependenciesBlock.module
Was module: any; now module: void. npmjs.com - Signature changed
Compilation.addLazyRuntimeModule
Was addLazyRuntimeModule<T>(chunk: Chunk, load: () => Promise<T>, create: (loaded: T) => RuntimeModule, chunkGraph?: ChunkGraph): void; now addLazyRuntimeModule<T extends object>(chunk: Chunk, load: () => Promise<T>, create: (loaded: T) =>... npmjs.com - Signature changed
Dependency.disconnect
Was readonly disconnect: any; now readonly disconnect: void. npmjs.com - Signature changed
Dependency.is
Was is<K extends | "worker" | "css-import" | "css-url" | "entry" | "url" | "module-dependency" | "esm-import" | "dynamic-import" | "esm-reexport" | "esm-side-effect-import" | "context-element" | "esm-bare-side-effect-import" |... npmjs.com - Signature changed
Dependency.KINDS
Was static KINDS: Set<| "worker" | "css-import" | "css-url" | "entry" | "url" | "module-dependency" | "esm-import" | "dynamic-import" | "esm-reexport" | "esm-side-effect-import" | "context-element" | "esm-bare-side-effect-import" |... npmjs.com - Signature changed
Dependency.module
Was module: any; now module: void. npmjs.com - Signature changed
EnvironmentPlugin.constructor
Was constructor(...keys: (string | Record<string, any> | string[])[]); now constructor(...keys: (string | string[] | JsonObjectFs)[]). npmjs.com - Signature changed
EnvironmentPlugin.defaultValues
Was defaultValues: Record<string, any>; now defaultValues: JsonObjectFs. npmjs.com - Signature changed
Generator
Was class Generator; now class Generator<TModule extends NormalModule = NormalModule>. npmjs.com
And 67 more in this version. Sign up to see every change
webpack 5.112.0 breaking changes
- Removed
css.syntax
css.syntax was reduced to parser, printer and SourceProcessor. Use the parser export instead. github.com - Removed
css.syntax.A
css.syntax.A was removed in webpack 5.112.0 npmjs.com - Removed
css.syntax.askEmbeddedRenderer
css.syntax.askEmbeddedRenderer was removed in webpack 5.112.0 npmjs.com - Removed
css.syntax.buildSkipSet
css.syntax.buildSkipSet was removed in webpack 5.112.0 npmjs.com - Removed
css.syntax.collectEmbeddedDiagnostics
css.syntax.collectEmbeddedDiagnostics was removed in webpack 5.112.0 npmjs.com - Removed
css.syntax.cssMinify
css.syntax.cssMinify was removed in webpack 5.112.0 npmjs.com - Removed
css.syntax.EMBEDDED_LANGUAGES
css.syntax.EMBEDDED_LANGUAGES was removed in webpack 5.112.0 npmjs.com - Removed
css.syntax.embeddedText
css.syntax.embeddedText was removed in webpack 5.112.0 npmjs.com - Removed
css.syntax.equalsLowerCase
css.syntax.equalsLowerCase was removed in webpack 5.112.0 npmjs.com - Removed
css.syntax.escapeIdentifier
css.syntax.escapeIdentifier was removed in webpack 5.112.0 npmjs.com
And 167 more in this version. Sign up to see every change
webpack 5.111.1 breaking changes
- Removed
BuildMeta.exportsBindingSourceByRuntime
BuildMeta.exportsBindingSourceByRuntime was removed in webpack 5.111.1 npmjs.com - Removed
BuildMeta.exportsFinalNameByRuntime
BuildMeta.exportsFinalNameByRuntime was removed in webpack 5.111.1 npmjs.com - Removed
BuildMeta.exportsSourceByRuntime
BuildMeta.exportsSourceByRuntime was removed in webpack 5.111.1 npmjs.com - Removed
CssModuleBuildMeta.exportsBindingSourceByRuntime
CssModuleBuildMeta.exportsBindingSourceByRuntime was removed in webpack 5.111.1 npmjs.com - Removed
CssModuleBuildMeta.exportsFinalNameByRuntime
CssModuleBuildMeta.exportsFinalNameByRuntime was removed in webpack 5.111.1 npmjs.com - Removed
CssModuleBuildMeta.exportsSourceByRuntime
CssModuleBuildMeta.exportsSourceByRuntime was removed in webpack 5.111.1 npmjs.com - Removed
JavascriptModuleBuildMeta.exportsBindingSourceByRuntime
JavascriptModuleBuildMeta.exportsBindingSourceByRuntime was removed in webpack 5.111.1 npmjs.com - Removed
JavascriptModuleBuildMeta.exportsFinalNameByRuntime
JavascriptModuleBuildMeta.exportsFinalNameByRuntime was removed in webpack 5.111.1 npmjs.com - Removed
JavascriptModuleBuildMeta.exportsSourceByRuntime
JavascriptModuleBuildMeta.exportsSourceByRuntime was removed in webpack 5.111.1 npmjs.com - Removed
LoaderContext.utils.absolutify
LoaderContext.utils.absolutify was removed in webpack 5.111.1 npmjs.com
And 43 more in this version. Sign up to see every change
webpack 5.111.0 breaking changes
- Removed
AssetModuleBuildInfo.ineffectivePureAnnotations
AssetModuleBuildInfo.ineffectivePureAnnotations was removed in webpack 5.111.0 npmjs.com - Removed
AssetModuleBuildInfo.notCacheableReasons
AssetModuleBuildInfo.notCacheableReasons was removed in webpack 5.111.0 npmjs.com - Removed
AssetModuleBuildInfo.topLevelThis
AssetModuleBuildInfo.topLevelThis was removed in webpack 5.111.0 npmjs.com - Removed
AssetModuleBuildInfo.usesEval
AssetModuleBuildInfo.usesEval was removed in webpack 5.111.0 npmjs.com - Removed
BuildInfo.ineffectivePureAnnotations
BuildInfo.ineffectivePureAnnotations was removed in webpack 5.111.0 npmjs.com - Removed
BuildInfo.notCacheableReasons
BuildInfo.notCacheableReasons was removed in webpack 5.111.0 npmjs.com - Removed
BuildInfo.topLevelThis
BuildInfo.topLevelThis was removed in webpack 5.111.0 npmjs.com - Removed
BuildInfo.usesEval
BuildInfo.usesEval was removed in webpack 5.111.0 npmjs.com - Removed
ConcatenatedModuleBuildInfo.ineffectivePureAnnotations
ConcatenatedModuleBuildInfo.ineffectivePureAnnotations was removed in webpack 5.111.0 npmjs.com - Removed
ConcatenatedModuleBuildInfo.notCacheableReasons
ConcatenatedModuleBuildInfo.notCacheableReasons was removed in webpack 5.111.0 npmjs.com
And 59 more in this version. Sign up to see every change
webpack 5.110.3 breaking changes
- Removed
ConcatenationScope.isInsideReplacedRequire
ConcatenationScope.isInsideReplacedRequire was removed in webpack 5.110.3 npmjs.com - Removed
ConcatenationScope.registerReplacedRequire
ConcatenationScope.registerReplacedRequire was removed in webpack 5.110.3 npmjs.com - Behavior changed
Accessing a deferred namespace of an async module while it is still evaluating now throws. Avoid forcing it during evaluation. github.com - Behavior changed
Names exported by more than one export * statement are no longer present on the module namespace. Import such names explicitly from their source module. github.com - Configuration changed
optimization.minimize
Object-form options for optimization.minimize now belong under minimizeOptions. Move them there so minimize stays a boolean. github.com
Older versions
79 older versions, each with its first changes. Sign up to see every change
Show 79 older versions
webpack 5.110.0 breaking changes
- Removed
RuntimeGlobals.commonJsWrap
RuntimeGlobals.commonJsWrap was removed in webpack 5.110.0 npmjs.com - Removed
RuntimeGlobals.esmId
RuntimeGlobals.esmId was removed in webpack 5.110.0 npmjs.com
And 53 more in this version.
webpack 5.109.2 breaking changes
- Behavior changed
Loaders now see "universal" as the context target when building for the universal target. Loader code that checks the target value may need to handle this. github.com - Behavior changed
CSS modules in source maps now use their resource path as the source name, without the "css " prefix. Tools that match source map entries by the old names may need updating. github.com
And 21 more in this version.
webpack 5.109.0 breaking changes
- Removed
HtmlModuleBuildInfo.htmlEntryScripts
HtmlModuleBuildInfo.htmlEntryScripts was removed in webpack 5.109.0 npmjs.com - Removed
loc
Locations are now derived from node offsets, and AST nodes no longer carry loc. Code that reads node.loc must use offsets instead. github.com
And 25 more in this version.
webpack 5.108.4 breaking changes
- Behavior changed
HTML asset URLs are now resolved against the document's <base href>, which can change the generated asset URLs for pages that set one. github.com - Behavior changed
new URL(...) directory references are now passed through instead of being resolved, so code relying on the resolved output must adapt. github.com
And 12 more in this version.
webpack 5.108.2 breaking changes
- Signature changed
CleanPlugin.getCompilationHooks
Was static getCompilationHooks(compilation: Compilation): CleanPluginCompilationHooks; now static getCompilationHooks: (compilation: Compilation) => CleanPluginCompilationHooks. npmjs.com - Signature changed
container.ModuleFederationPlugin.getCompilationHooks
Was static getCompilationHooks(compilation: Compilation): CompilationHooksModuleFederationPlugin; now static getCompilationHooks: (compilation: Compilation) => CompilationHooksModuleFederationPlugin. npmjs.com
And 10 more in this version.
webpack 5.108.0 breaking changes
- Removed
Dependency.weak
Dependency.weak was removed in webpack 5.108.0 npmjs.com - Removed
Module.hot
Module.hot was removed in webpack 5.108.0 npmjs.com
And 52 more in this version.
webpack 5.107.2 breaking changes
- Behavior changed
alternativeRequests
The alternativeRequests hook now receives all matched files of a context directory in one array call instead of one file per call. Plugins that tap it and assume a single item per call must iterate the array. github.com - Signature changed
InputFileSystem.purge
Was purge?: (value?: string | string[] | Set<string>) => void; now purge?: (value?: string | string[] | Set<string>, options?: {exact?: boolean}) => void. npmjs.com
And 3 more in this version.
webpack 5.107.1 breaking changes
- Signature changed
Chunk.cssFilenameTemplate
Was cssFilenameTemplate?: | string | ((pathData: PathData, assetInfo?: AssetInfo) => string); now cssFilenameTemplate?: | string | ((pathData: PathDataChunk, assetInfo?: AssetInfo) => string). npmjs.com - Signature changed
Chunk.filenameTemplate
Was filenameTemplate?: | string | ((pathData: PathData, assetInfo?: AssetInfo) => string); now filenameTemplate?: | string | ((pathData: PathDataChunk, assetInfo?: AssetInfo) => string). npmjs.com
And 18 more in this version.
webpack 5.107.0 breaking changes
- Removed
RuntimeGlobals.cssMergeStyleSheets
RuntimeGlobals.cssMergeStyleSheets was removed in webpack 5.107.0 npmjs.com - Behavior changed
import.defer
Code using new import.defer(...) or new import.source(...) no longer parses. Wrap the call in parentheses to keep the previous runtime behavior. github.com
And 24 more in this version.
webpack 5.106.1 breaking changes
- Behavior changed
Local CSS module identifiers are hashed from the compiler context instead of the module context, so generated class names may change and any code or styles that depend on the old names may need updating. github.com
webpack 5.106.0 breaking changes
- Removed
debug.ProfilingPlugin.outputPath
ProfilingPlugin.outputPath was removed in webpack 5.106.0 npmjs.com - Removed
DllPlugin.options.context
DllPlugin.options.context was removed in webpack 5.106.0 npmjs.com
And 41 more in this version.
webpack 5.105.4 breaking changes
- Behavior changed
Normal CSS modules no longer produce an empty, unneeded JavaScript output. Code that depends on that empty JS output may need to change. github.com - Behavior changed
Export presence guard detection now applies only to explicit existence checks on namespace imports, such as "x" in ns. Other guard patterns are no longer detected. github.com
And 6 more in this version.
webpack 5.105.3 breaking changes
- Removed
CleanPlugin.options.dry
CleanPlugin.options.dry was removed in webpack 5.105.3 npmjs.com - Removed
CleanPlugin.options.keep
CleanPlugin.options.keep was removed in webpack 5.105.3 npmjs.com
And 9 more in this version.
webpack 5.105.2 breaking changes
- Signature changed
WebpackPluginInstance
Was type WebpackPluginInstance = (compiler: Compiler) => void; now interface WebpackPluginInstance. npmjs.com
webpack 5.105.1 breaking changes
- Removed
ids.NamedChunkIdsPlugin.context
NamedChunkIdsPlugin.context was removed in webpack 5.105.1 npmjs.com - Removed
ids.NamedChunkIdsPlugin.delimiter
NamedChunkIdsPlugin.delimiter was removed in webpack 5.105.1 npmjs.com
And 16 more in this version.
webpack 5.105.0 breaking changes
- Behavior changed
import.meta
Unknown import.meta properties are no longer analyzed statically at compile time; they are determined at runtime. Check code that relies on compile-time handling of such properties. github.com - Behavior changed
import.meta.env
When a non-existent import.meta.env property is accessed, the runtime value is now an empty object instead of the full environment object. github.com
And 26 more in this version.
webpack 5.104.1 breaking changes
- Behavior changed
Internal reexports runtime calculation was changed so it no longer reads the WEBPACK_IMPORT_KEY declaration using var; code relying on that internal detail may be affected. github.com - Behavior changed
HttpUriPlugin
A security fix in HttpUriPlugin stops user information from being exposed, so URLs with credentials may now be handled differently. github.com
And 1 more in this version.
webpack 5.104.0 breaking changes
- Behavior changed
The hashing used for generated CSS local identifier names was improved, so class names produced for CSS modules may change between builds. Users who depend on specific generated names may need to update them. github.com - Behavior changed
HttpUriPlugin
Redirects are re-checked against allowedUris, limited to http and https, and capped at a conservative count. Redirects that fail this policy are now rejected before caching or lockfile writes, so builds that relied on other redirects may... github.com
And 11 more in this version.
webpack 5.103.0 breaking changes
- Removed
ConcatenationScope.chunkUsedNames
ConcatenationScope.chunkUsedNames was removed in webpack 5.103.0 npmjs.com - Removed
ConcatenationScope.registerUsedName
ConcatenationScope.registerUsedName was removed in webpack 5.103.0 npmjs.com
And 24 more in this version.
webpack 5.102.1 breaking changes
- Signature changed
ids.HashedModuleIdsPlugin.options
Was options: HashedModuleIdsPluginOptions; now options: Required<Omit<HashedModuleIdsPluginOptions, "context">> & {context?: string;}. npmjs.com - Signature changed
javascript.JavascriptParser.comments
Was comments?: Comment[]; now comments?: CommentImport[]. npmjs.com
And 4 more in this version.
webpack 5.102.0 breaking changes
- Removed
dependencies.ModuleDependency.assertions
ModuleDependency.assertions was removed in webpack 5.102.0 npmjs.com - Removed
Dependency.defer
Dependency.defer was removed in webpack 5.102.0 npmjs.com
And 118 more in this version.
webpack 5.101.3 breaking changes
- Signature changed
javascript.JavascriptParser.getNameForExpression
Was getNameForExpression(expression: MemberExpression): | undefined | {name: string; rootInfo: ExportedVariableInfo; getMembers: () => string[];}; now getNameForExpression(expression: Expression): | undefined | {name: string; rootInfo... npmjs.com - Signature changed
javascript.JavascriptParser.hooks
Was hooks: Readonly<{evaluateTypeof: HookMap<SyncBailHook<[UnaryExpression], undefined | null | BasicEvaluatedExpression>>; evaluate: HookMap<SyncBailHook<[| ImportExpressionImport | UnaryExpression | ArrayExpression |... npmjs.com
webpack 5.101.2 breaking changes
- Renamed
ChunkGraph.getChunkEntryDependOnChunksIterable
Use ChunkGraph.getRuntimeChunkDependentChunksIterable instead. npmjs.com - Renamed
javascript.JavascriptParser.blockPreWalkExportAllDeclaration
Use JavascriptParser.modulePreWalkExportAllDeclaration instead. npmjs.com
And 2 more in this version.
webpack 5.101.1 breaking changes
- Signature changed
JavascriptModulesPlugin.renderModule
Was renderModule(module: Module, renderContext: ChunkRenderContextJavascriptModulesPlugin, hooks: CompilationHooksJavascriptModulesPlugin, factory: boolean): null | Source; now renderModule(module: Module, renderContext... npmjs.com
webpack 5.101.0 breaking changes
- Behavior changed
output.environment.nodePrefixForCoreModules
The option is now respected in all places where core module imports are emitted, so output for configs that set it may change. Check the generated code if you rely on it. github.com - Behavior changed
output.importMetaName
The option is now respected in all places where import.meta is emitted, so output for configs that set it may change. Check the generated code if you rely on it. github.com
And 8 more in this version.
webpack 5.100.2 breaking changes
- Signature changed
AssetInfo.related
Was related?: Record<string, string | string[]>; now related?: Record<string, null | string | string[]>. npmjs.com - Signature changed
javascript.JavascriptParser
Was class JavascriptParser extends Parser; now class JavascriptParser extends ParserClass. npmjs.com
And 2 more in this version.
webpack 5.100.0 breaking changes
- Signature changed
Cache
Was class Cache; now class CacheClass. npmjs.com - Signature changed
cli.processArguments
Was let processArguments: (args: Flags, config: any, values: Record<string, Value[]>) => null | Problem[]; now let processArguments: (args: Flags, config: ObjectConfiguration, values: Values) => null | Problem[]. npmjs.com
And 39 more in this version.
webpack 5.99.9 breaking changes
- Signature changed
Dependency.createIgnoredModule
Was createIgnoredModule(context: string): null | Module; now createIgnoredModule(context: string): Module. npmjs.com - Signature changed
javascript.JavascriptParser.hooks
Was hooks: Readonly<{evaluateTypeof: HookMap<SyncBailHook<[UnaryExpression], undefined | null | BasicEvaluatedExpression>>; evaluate: HookMap<SyncBailHook<[| ImportExpressionImport | UnaryExpression | ArrayExpression |... npmjs.com
And 3 more in this version.
webpack 5.99.8 breaking changes
- Signature changed
Configuration.externals
Was externals?: | string | RegExp | ExternalItem[] | (ExternalItemObjectKnown & ExternalItemObjectUnknown) | ((data: ExternalItemFunctionData, callback: (err?: null | Error, result?: string | boolean | string[] | {[index: string]: any}) =>... npmjs.com - Signature changed
Externals
Was type Externals = | string | RegExp | ExternalItem[] | (ExternalItemObjectKnown & ExternalItemObjectUnknown) | ((data: ExternalItemFunctionData, callback: (err?: null | Error, result?: string | boolean | string[] | {[index: string]... npmjs.com
And 16 more in this version.
webpack 5.99.7 breaking changes
- Signature changed
cli.getArguments
Was let getArguments: (schema?: | (JSONSchema4 & Extend & {absolutePath: boolean; instanceof: string; cli: {helper?: boolean; exclude?: boolean; description?: string; negatedDescription?: string; resetDescription?: string;};}) |... npmjs.com - Signature changed
Compilation.errors
Was errors: WebpackError[]; now errors: Error[]. npmjs.com
And 8 more in this version.
webpack 5.99.6 breaking changes
- Signature changed
Chunk.getChildIdsByOrders
Was getChildIdsByOrders(chunkGraph: ChunkGraph, filterFn?: (c: Chunk, chunkGraph: ChunkGraph) => boolean): Record<string, (string | number)[]>; now getChildIdsByOrders(chunkGraph: ChunkGraph, filterFn?: (c: Chunk, chunkGraph: ChunkGraph)... npmjs.com - Signature changed
Compilation.moduleMemCaches
Was moduleMemCaches?: Map<Module, WeakTupleMap<any, any>>; now moduleMemCaches?: Map<Module, WeakTupleMap<any[], any>>. npmjs.com
And 16 more in this version.
webpack 5.99.5 breaking changes
- Removed
javascript.JavascriptParser.inExecutedPath
JavascriptParser.inExecutedPath was removed in webpack 5.99.5 npmjs.com
webpack 5.99.0 breaking changes
- Removed
HotModuleReplacementPlugin.options
HotModuleReplacementPlugin.options was removed in webpack 5.99.0 npmjs.com - Removed
node.NodeEnvironmentPlugin.options.infrastructureLogging
node.NodeEnvironmentPlugin.options.infrastructureLogging was removed in webpack 5.99.0 npmjs.com
And 151 more in this version.
webpack 5.98.0 breaking changes
- Behavior changed
output.charset
The output.charset option is now respected in all generated output, so bundles that relied on the previous behavior may change encoding. Check your build output if you set this option. github.com
webpack 5.97.1 breaking changes
- Signature changed
javascript.JavascriptParser.callHooksForExpressionWithFallback
Was callHooksForExpressionWithFallback<T, R>(hookMap: HookMap<SyncBailHook<T, R>>, expr: | ImportExpressionImport | UnaryExpression | ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AwaitExpression | BinaryExpression |... npmjs.com
webpack 5.97.0 breaking changes
- Removed
output.cssHeadDataCompression
The output.cssHeadDataCompression option was deleted, so configurations that set it need that option removed. github.com
webpack 5.96.1 breaking changes
- Signature changed
validate
Was const validate: (arg0: Configuration) => void; now const validate: (arg0: Configuration | Configuration[]) => void. npmjs.com
webpack 5.96.0 breaking changes
- Removed
JavascriptModulesPlugin.findNewName
JavascriptModulesPlugin.findNewName was removed in webpack 5.96.0 npmjs.com - Behavior changed
css.auto
A module that depends on its filename is now treated as pure css or css/local, where it was previously css/global and css/local. Check CSS modules that use css/auto. github.com
And 72 more in this version.
webpack 5.95.0 breaking changes
- Removed
ExternalModule.getModuleImportType
ExternalModule.getModuleImportType was removed in webpack 5.95.0 npmjs.com - Removed
JavascriptModulesPlugin.renameInlineModule
JavascriptModulesPlugin.renameInlineModule was removed in webpack 5.95.0 npmjs.com
And 3 more in this version.
webpack 5.94.0 breaking changes
- Removed
optimize.ModuleConcatenationPlugin.options
ModuleConcatenationPlugin.options was removed in webpack 5.94.0 npmjs.com - Removed
Watching.watchOptions.aggregateTimeout
Watching.watchOptions.aggregateTimeout was removed in webpack 5.94.0 npmjs.com
And 111 more in this version.
webpack 5.92.0 breaking changes
- Removed
util.runtime.deepMergeRuntime
util.runtime.deepMergeRuntime was removed in webpack 5.92.0 npmjs.com - Behavior changed
Code using the css module type can see different parsing results, because the parser can no longer switch the module mode. github.com
And 24 more in this version.
webpack 5.91.0 breaking changes
- Removed
Compilation.moduleTemplates.javascript
Compilation.moduleTemplates.javascript was removed in webpack 5.91.0 npmjs.com - Removed
ResolvePluginInstance.__index
ResolvePluginInstance.__index was removed in webpack 5.91.0 npmjs.com
And 87 more in this version.
webpack 5.90.3 breaking changes
- Signature changed
Compilation.createStatsOptions
Was createStatsOptions(optionsOrPreset?: string | StatsOptions, context?: CreateStatsOptionsContext): NormalizedStatsOptions; now createStatsOptions(optionsOrPreset?: string | boolean | StatsOptions, context?: CreateStatsOptionsContext)... npmjs.com - Signature changed
Compiler.close
Was close(callback: CallbackFunction<void>): void; now close(callback: CallbackFunction_1<void>): void. npmjs.com
And 35 more in this version.
webpack 5.90.1 breaking changes
- Signature changed
Compilation.createStatsOptions
Was createStatsOptions(optionsOrPreset: string | StatsOptions, context?: CreateStatsOptionsContext): NormalizedStatsOptions; now createStatsOptions(optionsOrPreset?: string | StatsOptions, context?: CreateStatsOptionsContext)... npmjs.com - Signature changed
javascript.JavascriptParser.callHooksForExpression
Was callHooksForExpression(hookMap: any, expr: any, ...args: any[]): any; now callHooksForExpression<T, R>(hookMap: HookMap<SyncBailHook<T, R>>, expr: any, ...args: AsArray<T>): undefined | R. npmjs.com
And 12 more in this version.
webpack 5.90.0 breaking changes
- Default changed
node.__filename.__dirname
The new node-module option for node.__filename and node.__dirname is enabled by default for the ESM target, which changes their output for ESM builds. github.com - Configuration changed
exportsOnly
The CSS exportsOnly option now lives in the CSS generator options instead of its previous location. Move any existing exportsOnly setting to the generator options. github.com
And 1 more in this version.
webpack 5.89.0 breaking changes
- Signature changed
javascript.JavascriptParser.hooks
Was hooks: Readonly<{evaluateTypeof: HookMap<SyncBailHook<[UnaryExpression], undefined | null | BasicEvaluatedExpression>>; evaluate: HookMap<SyncBailHook<[Expression], undefined | null | BasicEvaluatedExpression>>; evaluateIdentifier... npmjs.com
webpack 5.88.1 breaking changes
- Signature changed
Compiler.contextTimestamps
Was contextTimestamps: ReadonlyMap<string, null | FileSystemInfoEntry | "ignore">; now contextTimestamps?: ReadonlyMap<string, null | FileSystemInfoEntry | "ignore">. npmjs.com - Signature changed
Compiler.fileTimestamps
Was fileTimestamps: ReadonlyMap<string, null | FileSystemInfoEntry | "ignore">; now fileTimestamps?: ReadonlyMap<string, null | FileSystemInfoEntry | "ignore">. npmjs.com
And 13 more in this version.
webpack 5.88.0 breaking changes
- Default changed
The default CSS mode is now css/auto instead of the previous default. Set the CSS mode explicitly if your build depends on the old behavior. github.com - Signature changed
AsyncDependenciesBlock.constructor
Was constructor(groupOptions: RawChunkGroupOptions & {name?: string} & {entryOptions?: EntryOptions;}, loc?: SyntheticDependencyLocation | RealDependencyLocation, request?: string); now constructor(groupOptions: | null |... npmjs.com
And 23 more in this version.
webpack 5.87.0 breaking changes
- Signature changed
ConcatenationScope.matchModuleReference
Was static matchModuleReference(name: string): ModuleReferenceOptions & {index: number}; now static matchModuleReference(name: string): null | (ModuleReferenceOptions & {index: number}). npmjs.com - Signature changed
Configuration.plugins
Was plugins?: (| ((this: Compiler, compiler: Compiler) => void) | WebpackPluginInstance)[]; now plugins?: (| undefined | null | false | "" | 0 | ((this: Compiler, compiler: Compiler) => void) | WebpackPluginInstance)[]. npmjs.com
And 55 more in this version.
webpack 5.86.0 breaking changes
- Signature changed
AsyncDependenciesBlock.parent
Was parent: DependenciesBlock; now parent?: DependenciesBlock. npmjs.com - Signature changed
Chunk.cssFilenameTemplate
Was cssFilenameTemplate: | null | string | ((arg0: PathData, arg1?: AssetInfo) => string); now cssFilenameTemplate?: string | ((arg0: PathData, arg1?: AssetInfo) => string). npmjs.com
And 19 more in this version.
webpack 5.85.1 breaking changes
- Renamed
BasicEvaluatedExpression.getMemberRangeStarts
The internal BasicEvaluatedExpression.getMemberRangeStarts method was renamed to getMemberRanges. Code that calls the old name must switch to the new one. github.com - Signature changed
javascript.JavascriptParser.extractMemberExpressionChain
Was extractMemberExpressionChain(expression: MemberExpression): {members: string[]; object: | UnaryExpression | ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AwaitExpression | BinaryExpression | SimpleCallExpression |... npmjs.com
And 1 more in this version.
webpack 5.85.0 breaking changes
- Removed
ids.DeterministicModuleIdsPlugin.options.context
ids.DeterministicModuleIdsPlugin.options.context was removed in webpack 5.85.0 npmjs.com - Removed
ids.DeterministicModuleIdsPlugin.options.failOnConflict
ids.DeterministicModuleIdsPlugin.options.failOnConflict was removed in webpack 5.85.0 npmjs.com
And 54 more in this version.
webpack 5.84.0 breaking changes
- Removed
Resolver.hooks.noResolve
Resolver.hooks.noResolve was removed in webpack 5.84.0 npmjs.com - Removed
Resolver.hooks.resolve
Resolver.hooks.resolve was removed in webpack 5.84.0 npmjs.com
And 106 more in this version.
webpack 5.83.0 breaking changes
- Default changed
Top Level Await support is switched on by default in this release. Code that relied on it being off may need to opt out explicitly. github.com - Signature changed
Chunk.groupsIterable
Was readonly groupsIterable: Iterable<ChunkGroup>; now readonly groupsIterable: SortableSet<ChunkGroup>. npmjs.com
webpack 5.82.1 breaking changes
- Signature changed
LoaderContext.getResolve
Was getResolve(options?: ResolveOptionsWithDependencyType): {(context: string, request: string, callback: (arg0: null | Error, arg1?: string | false, arg2?: ResolveRequest) => void): void; (context: string, request: string)... npmjs.com - Signature changed
LoaderContext.resolve
Was resolve(context: string, request: string, callback: (arg0: null | Error, arg1?: string | false, arg2?: ResolveRequest) => void): any; now resolve(context: string, request: string, callback: (err: null | ErrorWithDetail, res?: string |... npmjs.com
And 4 more in this version.
webpack 5.81.0 breaking changes
- Signature changed
AsyncDependenciesBlock.deserialize
Was deserialize(__0: {read: any}): void; now deserialize(__0: ObjectDeserializerContext): void. npmjs.com - Signature changed
AsyncDependenciesBlock.serialize
Was serialize(__0: {write: any}): void; now serialize(__0: ObjectSerializerContext): void. npmjs.com
And 16 more in this version.
webpack 5.80.0 breaking changes
- Signature changed
LoaderContext.loaders
Was loaders: {request: string; path: string; query: string; fragment: string; options?: string | object; ident: string; normal?: Function; pitch?: Function; raw?: boolean; data?: object; pitchExecuted: boolean; normalExecuted: boolean;}[]... npmjs.com
webpack 5.79.0 breaking changes
- Signature changed
NormalModuleReplacementPlugin.constructor
Was constructor(resourceRegExp: RegExp, newResource: string | ((arg0?: any) => void)); now constructor(resourceRegExp: RegExp, newResource: string | ((arg0: ResolveData) => void)). npmjs.com - Signature changed
NormalModuleReplacementPlugin.newResource
Was newResource: string | ((arg0?: any) => void); now newResource: string | ((arg0: ResolveData) => void). npmjs.com
webpack 5.76.2 breaking changes
- Signature changed
sources.Source.map
Was map(options?: MapOptions): Object; now map(options?: MapOptions): null | RawSourceMap. npmjs.com
webpack 5.75.0 breaking changes
- Signature changed
Chunk.entryModule
Was readonly entryModule?: Module; now readonly entryModule: Module. npmjs.com - Signature changed
Compilation.hooks
Was hooks: Readonly<{buildModule: SyncHook<[Module]>; rebuildModule: SyncHook<[Module]>; failedModule: SyncHook<[Module, WebpackError]>; succeedModule: SyncHook<[Module]>; stillValidModule: SyncHook<[Module]>; addEntry... npmjs.com
And 72 more in this version.
webpack 5.0.0 breaking changes
- Removed
AssetInfo
AssetInfo was removed in webpack 5.0.0 npmjs.com - Removed
AuxiliaryCommentObject
AuxiliaryCommentObject was removed in webpack 5.0.0 npmjs.com
And 274 more in this version.
webpack 5.0.0-beta.15 breaking changes
- Behavior changed
webpack now generates and exposes its own TypeScript typings, which can affect typed configs. github.com
webpack 5.0.0-beta.14 breaking changes
- Removed
serve
The serve property is no longer accepted in the configuration schema; it moved to a plugin. github.com - Behavior changed
EnvironmentPlugin
Builds now fail when a referenced environment variable is missing and has no fallback. github.com
And 3 more in this version.
webpack 5.0.0-beta.7 breaking changes
- Behavior changed
In strict ESM modules, JSON modules no longer provide named exports. github.com - Behavior changed
Emitting different content to the same filename is now an error instead of a warning. github.com
webpack 5.0.0-beta.4 breaking changes
- Default changed
resolve.cacheWithContext
resolve.cacheWithContext now defaults to false, so resolver caching behaves differently unless you set it. github.com
webpack 5.0.0-beta.1 breaking changes
- Removed
cache.store
Only the pack mode of cache.store is supported now. github.com - Removed
LimitChunkCountPlugin.minChunkSize
The unused minChunkSize option was removed from LimitChunkCountPlugin. github.com
And 4 more in this version.
webpack 5.0.0-alpha.31 breaking changes
- Default changed
stats.modulesSort
Stats defaults changed: ids hidden, module sorting changed, and children false in toString. github.com
webpack 5.0.0-alpha.23 breaking changes
- Default changed
output.ecmaVersion
The default changed from 5 to 2015, which may not work in some older browsers; set output.ecmaVersion: 5 to keep support. github.com
webpack 5.0.0-alpha.20 breaking changes
- Removed
cache.loglevel
Use infrastructureLogging.level instead of cache.loglevel. github.com - Behavior changed
validateSchema
The validateSchema API throws an Error instead of returning an Array of Errors. github.com
webpack 5.0.0-alpha.19 breaking changes
- Renamed
experimental
The experimental option is now experiments, and webassembly module type names were renamed. github.com
webpack 5.0.0-alpha.16 breaking changes
- Removed
IgnorePlugin.checkContext
The checkContext option of IgnorePlugin was removed. github.com
webpack 5.0.0-alpha.15 breaking changes
- Default changed
experiments.mjs
mjs support is now off unless enabled with experiments.mjs: true. github.com - Default changed
experiments.syncWebAssembly
WebAssembly is now off unless enabled with experiments.syncWebAssembly or experiments.asyncWebAssembly. github.com
webpack 5.0.0-alpha.14 breaking changes
- Behavior changed
target
With target node and splitChunks, exports become a Promise, and remaining node options are disabled by default in node-like targets. github.com
webpack 5.0.0-alpha.13 breaking changes
- Removed
RuleSetRule.query
The query and loaders properties in rules have been removed. npmjs.com
webpack 5.0.0-alpha.8 breaking changes
- Behavior changed
assets
Source is replaced with SizeOnlySource after emitting, so reading source or map from assets after emit no longer works. github.com
webpack 5.0.0-alpha.5 breaking changes
- Removed
compilationParams.compilationDependencies
Plugins must add dependencies by adding to compilation.file, context or missingDependencies instead. github.com - Behavior changed
NormalModuleFactory
Hooks in NormalModuleFactory changed from waterfall to bailing, and some hooks were renamed. Plugins using these hooks must be updated. github.com
And 2 more in this version.
webpack 5.0.0-alpha.4 breaking changes
- Removed
module.buildMeta.providedExports
module.buildMeta.providedExports has been removed and moved into ModuleGraph. Code reading it must use ModuleGraph instead. github.com
webpack 4.0.0 breaking changes
- Removed
The CLI is no longer bundled; install webpack-cli to use the command line. github.com - Removed
Node.js 4 is no longer supported, so upgrade Node.js before using webpack 4. github.com
And 208 more in this version.
webpack 3.0.0 breaking changes
- Removed
DllReferencePlugin.Options.manifest.content
DllReferencePlugin.Options.manifest.content was removed in webpack 3.0.0 npmjs.com - Removed
DllReferencePlugin.Options.manifest.name
DllReferencePlugin.Options.manifest.name was removed in webpack 3.0.0 npmjs.com
And 24 more in this version.
Related packages
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.