bdkjones / CodeKit-1-Old

147 stars 1 forks source link

Minified LESS/CSS Output Changes #700

Open nissicreative opened 10 years ago

nissicreative commented 10 years ago

Since updating to the latest CodeKit version, minified CSS files now concatenate multiple rules to a single, super-long line. This makes it very difficult to do diff checks between CSS files, and makes them pretty much human-unreadable. Furthermore, some—but not all—comments are preserved and appear in the minified output.

I'm assuming this has to do with a change to the LESS compiler? Is there any way to specify the old behavior, where each rule appears on its own line?

bdkjones commented 10 years ago

Yep. The new version of Less uses a better compressor, so that's the cause of the changes.

Any issues would need to be raised with the Less team directly.

Sent from my iPhone

On Nov 13, 2013, at 8:23 AM, Mike Folsom notifications@github.com wrote:

Since updating to the latest CodeKit version, minified CSS files now concatenate multiple rules to a single, super-long line. This makes it very difficult to do diff checks between CSS files, and makes them pretty much human-unreadable. Furthermore, some—but not all—comments are preserved and appear in the minified output.

I'm assuming this has to do with a change to the LESS compiler? Is there any way to specify the old behavior, where each rule appears on its own line?

— Reply to this email directly or view it on GitHub.

danieletesta commented 10 years ago

@bdkjones so what's the difference now between Minified and Compressed? Because to me it looks to be the same thing.