tailwindcss/crates/oxide
Robin Malfait 274be93fd8
Handle ' syntax in ClojureScript when extracting classes (#18888)
This PR fixes an issue where the `'` syntax in ClojureScript was not
handled properly, resulting in missing extracted classes.

This PR now supports the following ClojureScript syntaxes:

```cljs
; Keyword
(print 'text-red-500)

; List
(print '(flex flex-col underline))

; Vector
(print '[flex flex-col underline])
```

### Test plan

1. Added regression tests
2. Verified that we extract classes correctly now in various scenarios:

Top is before, bottom is with this PR:

<img width="1335" height="1862" alt="image"
src="https://github.com/user-attachments/assets/746aa073-25f8-41f8-b71c-ba83a33065aa"
/>


Fixes: #18882
2025-09-05 14:17:07 +02:00
..
fuzz Hoist oxide/crates to just crates (#13333) 2024-03-23 09:00:48 -04:00
src Handle ' syntax in ClojureScript when extracting classes (#18888) 2025-09-05 14:17:07 +02:00
tests Ignore binary extensions, except in folder names (#17595) 2025-04-12 13:30:17 +02:00
Cargo.toml Fix HAML extraction with embedded Ruby (#17846) 2025-05-05 10:26:17 -04:00