rbtech / css-purge

A CSS tool written in Node JS as a command line app or library for the purging, burning, reducing, shortening, compressing, cleaning, trimming and formatting of duplicate, extra, excess or bloated CSS.
http://rbtech.github.io/css-purge
MIT License
125 stars 19 forks source link

Support for SASS #10

Closed AchoArnold closed 6 years ago

AchoArnold commented 9 years ago

Is it possible for me to purge .scss files?

AndrewEQ commented 9 years ago

I haven't tried but if they purely contain CSS, then possibly but I doubt you just have pure CSS in a .scss file. You could purge the CSS output of your SASS.

wardpeet commented 9 years ago

I don't see why you want this? just run it on the compiled (css) files? It's pretty common to have multiple properties in sass: color: #000 @if $something { color: #fff; }

AndrewEQ commented 6 years ago

Agree with @wardpeet, we may decide to add support for this in the future but it really isn't necessary right now, more of a luxury.

Oh yeah and we launched the new version!

http://rbtech.github.io/css-purge