Change8

v5.101.1

📦 webpackView on GitHub →
3 features🐛 10 fixes🔧 6 symbols

Summary

This release focuses on stability improvements for HMR, chunking logic, and ESM exports, while exposing the ModuleFactory class and serialization types for plugin developers.

✨ New Features

  • Exported types for serialization and deserialization in plugins
  • Exported the ModuleFactory class
  • Tree-shakable module library now aligns preconditions of allowInlineStartup

🐛 Bug Fixes

  • Filtered deleted assets in processAdditionalAssets hook
  • Fixed HMR failure in defer module
  • Ensured assets are emitted even if invalidation occurs again
  • Fixed failure export of internal function for ES module chunk format
  • Fixed GetChunkFilename failure caused by dependOn entry
  • Fixed the import of missing dependency chunks
  • Fixed issue where entry chunk depends on the runtime chunk hash
  • Fixed module.exports bundle to ESM library conversion
  • Adjusted the timing of adding a group based on execution time fragments
  • Fixed circular dependencies when requiring RawModule and isDeferred condition

🔧 Affected Symbols

processAdditionalAssetsModuleFactoryGetChunkFilenameRawModuleisDeferredallowInlineStartup