Remove unused CSS


#1

Hi All,

I noticed when creating an app with ionic I wasn’t using all of the available CSS. In fact, there were 95% of unused CSS rules in my ionic.css according to chrome dev tools.

I’m interested in automating removing unused CSS. I was wondering if anybody else has looked into this, if so do you have any feedback or suggestions?

There is a gulp plugin for this https://github.com/addyosmani/gulp-uncss-task but I’m uncertain how well it will work with AngularJS due to the ng-class attributes, directive etc.

Thanks,
Ian


#2

searching for the same, any update ?


#3

Also searching for the same