webpack v5.0.0-beta.12 Release Notes

Release Date: 2020-01-16 // over 4 years ago
  • ๐Ÿ›  Bugfixes

    • ๐Ÿ– handled sourceRoot in SourceMaps from modules/loaders
    • ๐Ÿ‘‰ make order of exports in hashing deterministic to fix a hash change on recompilation
    • generate async module code correctly even when no await is used, but other async module is imported
    • ๐Ÿ”Œ flag all modules as used when using DllPlugin with entryOnly: false
    • ๐Ÿ›  fix a race condition in the persistent cache where the cache file is persisted twice in parallel
    • โฌ†๏ธ upgrade watchpack for incorrectly emitted change events and wrong timestamps
    • ๐Ÿ›  fix string/number formatting inconsistency in HMR output files
    • /*# __PURE__ */ is applied to function calls when doing innerGraph analysis

    ๐Ÿ”„ Changes

    • ๐Ÿ”„ change the default of entryOnly of the DllPlugin to true
    • โœ‚ remove special request shortening logic and use single relative paths for readable module names

    ๐Ÿ”‹ Features

    • ๐Ÿ‘ allow webpack:// urls in SourceMaps to provided paths relative to webpack root context
    • โš  show all possible exports in the warning/error when export was not found or name is incorrect
    • treat sequence expression, function and class expressions as pure for innerGraph analysis

    Full Changelog

    Feedback