v5.0.0-beta.7
Pre-release
Pre-release
Features
- add deprecation codes to all deprecations
- add
Compiler.modifiedFileswith a Set of all modified files in this watchRun - upgrade watchpack
Bugfixes
- enable chunk reuse of
defaultVendorsto allowwebpackChunkNamefor vendor-only chunks - fix a missing runtime requirement when using top level await without exports
- fix missing newlines for
stats.errorDetailsandstats.errorStacks - fix a crash in webpack-sources accessing
mappingsof null (Persistent Cache)
Changes
Multiple assets emit different content to the same filenameis 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"toexportsType = "default"