Change8

v0.25.9

📦 esbuild
3 features🐛 2 fixes🔧 2 symbols

Summary

This release improves Yarn PnP support on Windows for multi-drive setups and preserves/optimizes function parentheses to maintain V8 engine performance hints.

✨ New Features

  • Support for Yarn Plug'n'Play on Windows across different drive letters (e.g., project on D: and cache on C:).
  • Preservation of parentheses around function expressions to maintain V8 optimization hints.
  • Automatic addition of parentheses around immediately-invoked function expressions (IIFEs) to trigger V8's eager compilation optimization.

🐛 Bug Fixes

  • Fixed an issue where Yarn PnP relative paths failed on Windows when traversing between different drives.
  • Fixed loss of function expression parentheses during AST transformation.

🔧 Affected Symbols

Yarn PnPFunctionExpression