Migrating to Webpack v5.105.3
Version v5.105.3 introduces 1 breaking change. This guide details how to update your code.
Released: 2/26/2026
1
Breaking Changes
1
Migration Steps
6
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
Context modulesasset moduleswebpack_exportsCSS modulesreferenced chunkmodule factoryBreaking Changes
●Issue #1
Asset modules are now only marked as side-effect-free when `experimental.futureDefaults` is set to true. If you rely on asset-copying use cases (e.g. `import "./x.png"`) without enabling this option, they might now behave differently (i.e., not be marked as side-effect-free).
Migration Steps
- 1If you rely on asset modules being side-effect-free for asset-copying use cases (e.g. `import "./x.png"`) and are not using `experimental.futureDefaults: true`, you may need to enable `experimental.futureDefaults: true` to maintain previous behavior regarding side-effect-free marking.
Release Summary
This patch release focuses on bug fixes across context modules, HMR for CSS, entry point generation, and module resolution, while introducing stricter control over asset module side-effect marking via experimental flags.
Need More Details?
View the full release notes and all changes for Webpack v5.105.3.
View Full Changelog