Skip to content

v5.0.0-beta.7

Pre-release
Pre-release

Choose a tag to compare

@sokra sokra released this 20 Nov 21:53

Features

  • add deprecation codes to all deprecations
  • add Compiler.modifiedFiles with a Set of all modified files in this watchRun
  • upgrade watchpack

Bugfixes

  • enable chunk reuse of defaultVendors to allow webpackChunkName for vendor-only chunks
  • fix a missing runtime requirement when using top level await without exports
  • fix missing newlines for stats.errorDetails and stats.errorStacks
  • fix a crash in webpack-sources accessing mappings of null (Persistent Cache)

Changes

  • Multiple assets emit different content to the same filename is an error now
  • parser and generator options are no longer stringified, but parser and generators are cached based on option identity instead
  • in strict ESM modules JSON modules have no longer named exports

Refactoring

  • rename exportsType = "named" to exportsType = "default"