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

    Internal

    • ๐Ÿ”จ refactor prefetch/preload logic into separate plugin to be reusable for other module types

    Full Changelog

    Feedback