Remove unused CSS

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 but I’m uncertain how well it will work with AngularJS due to the ng-class attributes, directive etc.


1 Like

searching for the same, any update ?

Also searching for the same