Hacker News new | ask | show | jobs
by grakic 4494 days ago
What are current options to optimize LESS files and remove unused mixins? And for the generated CSS, what are current options to merge shared rules and remove unused classes reported against a sample HTML?
2 comments

>What are current options to optimize LESS files and remove unused mixins?

Kolega, use parametric mixins without parameters: http://lesscss.org/features/#mixins-parametric-feature

For unused css I'd try this: https://github.com/addyosmani/grunt-uncss

I got this recommended for handling shared rules: http://zmoazeni.github.io/csscss/