The difference between uncss and purifycss

already used uncss with a grunt, but stumbled upon purifycss. It seems to find no compradions anywhere. Can anyone distinguish 2 to help me choose which one to use?

+4
source share
2 answers

UnCSS removes unused CSS from your stylesheets.

PurifyCSS does not modify the CSS source files.

I use PurifyCSS and I totally recommend it.

I hope that it will simplify everything for you, everyone has a way to do what is needed. If I were you, I would test them and see which one is more useful to you.

EDIT: PurifyCSS also takes care of JS files that CSS classes and identifiers can add.

+5

, , purgecss: https://www.purgecss.com/comparison.html


PurifyCSS

  • , HTML JS
  • , CSS

UnCSS

  • - - HTML JS.
    • .
  • , .
  • JS, .
0

All Articles