webpack v5.0.0-beta.10 Release Notes
Release Date: 2019-12-22 // over 4 years ago-
๐ Features
- Concatented modules are persistent cacheable now
- โ add an explanation comment to eval-based devtools about readablilty of output files
- ๐ improved profiling mode of progress to display timings per plugin and substep
๐ Bugfixes
- ๐ fix a
no ChunkGraph assigned
crash when using HMR and the mini-css-extract-plugin - bailout inner graph optimization when a module uses
eval()
- detect a cycle in
this.loadModule
and show error in this case - ๐ allow mangle even if object prototype export names are used
- prevent mangling for object prototype export names in CommonJS
- only treat Object.defineProperty for top-level this as export
- replace Object.defineProperty correctly when value is in brakets
๐ Performance
- โ add in-memory cache for wrapper code of module factories
๐ Deprecations
- ๐ deprecate using string loader option in config
- prefer passing an object to
options
- prefer passing an object to
Internal
- ๐จ refactor prefetch/preload logic into separate plugin to be reusable for other module types
Full Changelog
Feedback