From 8feb6a758ab75ea63d22a59b5530f68d35b34ab8 Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Fri, 18 Apr 2025 04:46:33 -0400 Subject: [PATCH] Ignore .geojson files by default (#17700) Resolves https://github.com/tailwindlabs/tailwindcss/issues/17699 GeoJSON files are giant JSON files for geographic data structures and will never contain Tailwind classes, but because they are often huge they will slow down the build a lot if scanned. --------- Co-authored-by: Adam Wathan <4323180+adamwathan@users.noreply.github.com> --- CHANGELOG.md | 4 +++- crates/oxide/src/scanner/fixtures/binary-extensions.txt | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e821e1874..0c3f4129e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -- Nothing yet! +### Fixed + +- Don't scan `.geojson` files for classes by default ([#17700](https://github.com/tailwindlabs/tailwindcss/pull/17700)) ## [4.1.4] - 2025-04-14 diff --git a/crates/oxide/src/scanner/fixtures/binary-extensions.txt b/crates/oxide/src/scanner/fixtures/binary-extensions.txt index 5f5b9a7c6..91d8c77cc 100644 --- a/crates/oxide/src/scanner/fixtures/binary-extensions.txt +++ b/crates/oxide/src/scanner/fixtures/binary-extensions.txt @@ -77,6 +77,7 @@ fpx fst fvt g3 +geojson gh gif graffle