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

New "Group Common Decliration Feature" going out live, breaking compilation #34

Closed brookscom4580 closed 5 years ago

brookscom4580 commented 5 years ago

Hello, The "new feature" released in version 3.1.0 went out live instead of dark (for some reason) and is generated erroneously unnested selectors.

Here's a gist for comparison: https://gist.github.com/brookscom4580/916e012af880e06745b1aaaf234d4fa9

In this gist I've added 4 "files":

I'm sure there is a way to turn off this new feature but given that it went out live it created a quick path to a production issue for us. I expect other people might see the same types of issue as well. Maybe the feature should be set to dark / false by default?

AndrewEQ commented 5 years ago

Thanks for the feedback, you're right, maybe was a little too ambitious with this release, will turn it off by default.

brookscom4580 commented 5 years ago

Much appreciated!

AndrewEQ commented 5 years ago

Made the update, lemme know if its still giving issues, thanks.