leeoniya/dropcss
View on GitHub ↗ ★ 2,125 HTML
An exceptionally fast, thorough and tiny unused-CSS cleaner
7 mentions on Hacker News by 1 person: 1 story, 6 comments · first 2019-03-23 · latest 2022-01-13
20082026
-
and https://github.com/leeoniya/dropcss , if you're feeling adventurous ;)
comment by leeoniya · 2022-01-13 · in Parcel CSS: A new CSS parser, compiler, and minifier -
https://github.com/leeoniya/dropcss still in js, but very fast, ~10KB (min), 0 dependencies, and does not require npm [1]: however, it expects properly formed html and css; the parsers are quite unforgiving. (i'm the author) [1]…
comment by leeoniya · 2020-02-26 · in Tailwind UI -
i've grumbled about this, too. Tailwind recommends PurgeCSS, but i'll plug my own lib here: https://github.com/leeoniya/dropcss i have a specific section on how to handle tailwind's unorthodox classnames:…
comment by leeoniya · 2020-02-26 · in Tailwind UI -
shameless plug: https://github.com/leeoniya/dropcss it's still written in JS but there is nothing node-specific there. it easily runs in a browser, or any js environment.
comment by leeoniya · 2019-08-09 · in Show HN: Tailwind.run – An Online Playground for Tailwind CSS -
shameless plug: https://github.com/leeoniya/dropcss faster and more thorough than PurgeCSS (and all others). specifically for handling TailWind's weird classnames: https://github.com/leeoniya/dropcss#special--escaped-sequenc...
comment by leeoniya · 2019-08-09 · in Show HN: Tailwind.run – An Online Playground for Tailwind CSS -
…a counter in there, taking care to split combinator selectors on "," as i do, and add them up. [1] https://github.com/leeoniya/dropcss/blob/master/src/dropcss....
comment by leeoniya · 2019-03-23 · in Show HN: DropCSS – A simple, thorough and fast unused-CSS cleaner -
▲ 134
Show HN: DropCSS – A simple, thorough and fast unused-CSS cleanerstory by leeoniya · 2019-03-23 · 25 comments