Skip to content

Commit 88a8234

Browse files
authored
Mark .hdr and .exr as binary extensions (#18734)
This PR fixes an issue where `.hdr` files were scanned for candidates even though it's a binary file. As a workaround today, you could use: ```css @source not "**/*.hdr"; ``` To ignore `.hdr` files, but let's bake it in by default instead. Fixes: #18733
1 parent 1855d68 commit 88a8234

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2727
- Fix false-positive migrations in `addEventListener` and JavaScript variable names ([#18718](https://github.com/tailwindlabs/tailwindcss/pull/18718))
2828
- Fix Standalone CLI when run via symlink on Windows ([#18723](https://github.com/tailwindlabs/tailwindcss/pull/18723))
2929
- Read from `--border-color-*` theme keys in `divide-*` utilities for backwards compatibility ([#18704](https://github.com/tailwindlabs/tailwindcss/pull/18704/))
30+
- Prevent scanning `.hdr` and `.exr` files ([#18734](https://github.com/tailwindlabs/tailwindcss/pull/18734))
3031

3132
## [4.1.11] - 2025-06-26
3233

crates/oxide/src/scanner/fixtures/binary-extensions.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ eol
6666
eot
6767
epub
6868
exe
69+
exr
6970
f4v
7071
fbs
7172
fh
@@ -87,6 +88,7 @@ gzip
8788
h261
8889
h263
8990
h264
91+
hdr
9092
icns
9193
ico
9294
ief

0 commit comments

Comments
 (0)