Change8

v0.25.11

📦 esbuild
2 features🔧 2 symbols

Summary

This release adds support for the Stage 2.7 'import bytes' proposal and introduces CSS media query range syntax transformation for improved cross-browser compatibility.

Migration Steps

  1. To enable CSS media query lowering for specific environments, set the --target flag to an older browser version (e.g., --target=chrome100) or use --supported:media-range=false.

✨ New Features

  • Added support for the 'import bytes' proposal using 'with { type: "bytes" }' syntax, behaving identically to the existing 'binary' loader.
  • Added CSS media query range syntax lowering, transforming range syntax (e.g., 640px <= width) into min-/max- prefixes for older browser targets.

🔧 Affected Symbols

import.with.type.bytescss.media.range