Dropcss Versions Save

An exceptionally fast, thorough and tiny unused-CSS cleaner

1.0.6

5 years ago
  • fix tokentization of multiple pseudos, e.g. foo:not():not()
  • in addition to ", skip ' in attr vals [val='foo']
  • add inifinite loop guards to html and css tokenizers

1.0.5

5 years ago
  • fix always return array from getSibsOfType()
  • fix handle self-closing tags without space after tagname (e.g. <br/>)

1.0.4

5 years ago
  • implement [attr~=value]
  • properly handle nested pseudos, eg: p:not(:nth-child(n+3)) { }

1.0.3

5 years ago
  • handle spaces & junk better in attr selectors during context-free testing

1.0.2

5 years ago
  • fix case insensitive html tag matching (e.g. svg tags)
  • add another round of stripping remaining/nested empty @ rules, (e.g. @supports ... { @media ... {} })
  • pass unused @keyframes and @font-face through shouldDrop()
  • Puppeteer demo (with full JS execution)

1.0.1

5 years ago
  • handle <keyframes-name> at end of animation: shorthand

1.0.0

5 years ago

0.5.0

5 years ago
  • complete rewrite

0.3.2

5 years ago

no changes

0.3.1

5 years ago
  • skip processing @ blocks except @media