Hasmin - A Haskell CSS Minifier
See CHANGELOG.md
See the CHANGELOG.md file for more details.
[YANKED] Do not use this version (see 1.0 notes)
Arbitrary
instance.@supports
rules, and a slight minification for them: it removes adjacent negations, i.e.: @supports not (not ...)
gets turn into @supports ...
.:lang()
where spaces before the right parenthesis weren't being removed.First release, which can be found on Hackage.
The minifier already implements several techniques, both for minification, and to improve compression. It supports some basic CSS hacks (such as \9
at the end of a declaration), and most of the usual CSS features, though it lacks support for some others (for example, and ironically, the parser chokes on @supports
rules).