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