Change8

v5.99.7

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

Summary

This release focuses on fixing module library export generation and improving error reporting in stats. It also enhances HMR stability for CSS modules and adds missing JSON schema types.

✨ New Features

  • Added missing @types/json-schema to the package types for better TypeScript support.
  • Enhanced stats output to respect the 'cause' property of errors and 'errors' property of AggregateError.

🐛 Bug Fixes

  • Fixed issue where export generation was skipped for 'default' reexports.
  • Fixed module library export generation for reexports.
  • Prevented module concatenation in child compilations for module libraries to ensure correct output.
  • Improved HMR to recover gracefully when encountering a CSS module with errors.

🔧 Affected Symbols

module.libraryAggregateErrorstatsHMRCSSModule