Change8

v0.27.4

📦 esbuildView on GitHub →
🐛 2 fixes🔧 2 symbols

Summary

This release primarily fixes regressions related to CSS media query printing and edge cases in the 'inject' feature. It also introduces experimental improvements to handle extremely large build metafiles via the JavaScript API.

Migration Steps

  1. If you were relying on the specific (incorrect) output format for complex CSS media queries, be aware that the output is now correctly parenthesized.
  2. If you encountered errors using 'inject' with 'export { ... } from' and no bundling, this should now work correctly.

🐛 Bug Fixes

  • Fixed a regression in CSS media query printing where an 'or' clause inside '<media-condition-without-or>' was not wrapped with parentheses.
  • Fixed an edge case where the 'inject' feature failed when used with arbitrary module namespace names exported via 'export {} from' statement, bundling disabled, and an unsupported target environment.

Affected Symbols