Dropcss Versions Save

An exceptionally fast, thorough and tiny unused-CSS cleaner

1.0.16

4 years ago
  • confine unquoted attr values to [\w-]+ (#38)
  • support ":" in attr names. (#39)
  • switch from umd -> iife

1.0.15

4 years ago
  • handle angle brackets in html attrs. (#37)

1.0.14

4 years ago
  • fix stripping of non-assertable pseudos. (#34)

1.0.13

4 years ago
  • don't confuse -- in selectors for css vars. (#31)

1.0.12

4 years ago
  • drop any leftover empty blocks, e.g. :root { }

1.0.11

4 years ago
  • removal of unused css variables

1.0.10

4 years ago
  • fix issue with parsing multiple @font-face blocks

1.0.9

4 years ago
  • resolution of css variables (including deep/composites), e.g. --font-family: 'Foo Bar' (#26)
  • more reliable extraction of font-family from font: short-hands

1.0.8

4 years ago
  • fix handling of fonts containing spaces, e.g. 'Open Sans'
  • implement font usage detection for font: shorthands

1.0.7

5 years ago
  • properly handle self-closed non-voids e.g. <div/>
  • track and return retained selectors: {css, sels}