Change8

v5.109.2

📦 webpackView on GitHub →
🐛 5 fixes🔧 6 symbols

Summary

This patch release for Webpack includes several bug fixes, including improvements to alias resolution, source map naming, and cache management. It also addresses issues with dead branch skipping and loader context reporting.

🐛 Bug Fixes

  • Resolved aliases pointing at a package directory whose name ends with `.js`.
  • Named CSS sources in source maps by their resource path, without the `css ` prefix.
  • Deleted no longer referenced files from the filesystem cache directory after storing the cache, aged them by recorded time so restored caches are cleaned too, and collected every fully expired pack in one store instead of one per build.
  • Reported `"universal"` as the loader context target for the universal target.
  • Skipped `require().prop` in dead branches gated by inlined imported constants.

Affected Symbols