Here’s the Deal
Slant is powered by a community that helps you make informed decisions. Tell us what you’re passionate about to get your personalized feed and help others.
When comparing cssnano vs YUI Compressor, the Slant community recommends YUI Compressor for most people. In the question“What are the best CSS minifiers?” YUI Compressor is ranked 3rd while cssnano is ranked 5th.
Ranked in these QuestionsQuestion Ranking
Common Questions
Other Questions
No other questions
Pros
Pro Whitespace & final semicolon removal
Trims whitespace inside and around rules, selectors & declarations, plus removes the final semicolon inside every selector.
Pro Comment removal
postcss-discard-comments removes comments in and around rules, selectors & declarations. Note that any special comments marked with ! are kept by default.
Pro Calc Function
Pro Duplicate rules removed
Pro Focused optimisations
Pro Autoprefixer
Add needed prefixes and remove unnecessary based on its browsers option and can I use data
Pro 100% safe
Pro Compresses both CSS and JavaScript
they break calc()
Cons
No cons yet!