How to remove unused CSS rules during Meteor build?

237 Views Asked by At

Is there a package that will automatically clean the css rules in my meteor app? I heard about purifyCSS and UnCSS as well as several Chrome extentions to help with this (for example "CSS remove and combine") and was wondering if it can be done directly in Meteor

1

There are 1 best solutions below

1
On

Maintaining your code is a mandatory task in order to keep your projects in tact.

However, since you are in this position a relatively easy way to gain some speed and a cleaner output is this library.