v0.27.3
📦 esbuildView on GitHub →
✨ 3 features🐛 1 fixes🔧 3 symbols
Summary
This release introduces full parsing support for CSS @scope rules and fixes a critical bug where URL fragments were lost when bundling SVGs as data URLs. A minification bug related to 'for await' loops was also resolved.
✨ New Features
- Preserves URL fragments in data URLs when bundling SVG in CSS, fixing issues where fragments were dropped.
- Added dedicated support for parsing CSS @scope rules, including handling optional start and end selector lists.
- Improved correctness of CSS modules support by respecting the local/global status of names in selector lists within @scope rules.
🐛 Bug Fixes
- Fixed a minification bug where the minifier incorrectly stripped the variable in the automatically-generated catch clause of lowered for await loops.