Change8

v5.106.2

📦 webpackView on GitHub →
1 features🐛 2 fixes🔧 5 symbols

Summary

This patch release fixes issues with default value handling in plugins and improves CSS @import inheritance, while migrating an internal dependency from mime-types to mime-db.

Migration Steps

  1. Migrate from using `mime-types` dependency to `mime-db`.

✨ New Features

  • CSS @import now inherits the parent module's exportType, allowing files configured as "text" to correctly create a style tag when @imported by a "style" parent.

🐛 Bug Fixes

  • Fixed incorrect overriding of user-provided falsy values (like `modules: false`) in ProgressPlugin and ManifestPlugin due to faulty `||` default value handling.
  • Asset modules are now available in the JS context when referenced from both CSS and a lazily compiled JS chunk.

Affected Symbols