v5.109.1
📦 webpackView on GitHub →
✨ 2 features🐛 7 fixes🔧 3 symbols
Summary
This release focuses on performance improvements across various webpack components, including parsers, stats generation, and plugins. It also includes bug fixes for improved compatibility with Deno and Bun, and enhancements to the persistent cache.
✨ New Features
- Enable the Node.js compile cache in the webpack CLI entry point.
- Encode the persistent cache with V8's value serializer.
🐛 Bug Fixes
- Fix stray semicolon emitted before an imported call following a parenthesized sequence element.
- Make `require(esm)` `module.exports` re-export analysis independent of module processing order.
- Ignore ERR_SERVER_NOT_RUNNING on lazy-compilation backend dispose so `compiler.close()` succeeds on Bun.
- Name the failing key when DefinePlugin fails to evaluate a `typeof` value.
- Improve Deno compatibility: guard `setNoDelay` and force-close connections on lazy-compilation backend dispose, and return a real `ArrayBuffer` from the Node async/sync wasm loader so `WebAssembly.instantiate` accepts it.
- Track CommonJS build dependencies by parsing sources when `require.cache` children are unavailable (e.g. Bun).
- Initialize `NormalModule._ast` in the constructor so each instance keeps a single hidden-class shape.