webpack v5.0.0-beta.25 Release Notes

Release Date: 2020-08-10 // over 3 years ago
  • ๐Ÿ”‹ Features

    • ๐Ÿฑ Compilation.deleteAsset to correctly delete an assets and non-shared related assets
    • โž• Add support for optional chaining a?.b in parsing and evaluation
      • allows e. g. import.meta.webpackHot?.accept("./dep")

    ๐Ÿ›  Bugfixes

    • โš™ runtime chunk is now part of the generated entry info in the chunk
    • โฌ†๏ธ upgrade watchpack to beta 14
      • merged watchers to recursive watchers when reaching watcher limit (MacOS: 2,000, Windows: 10,000)
      • This fixes watching errors when watching more than 4096 directories on MacOS
    • import() of async externals now works correctly
    • ๐Ÿ›  fix variable declarations in switch cases