Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minified LESS/CSS Output Changes #700

Open
nissicreative opened this issue Nov 13, 2013 · 2 comments
Open

Minified LESS/CSS Output Changes #700

nissicreative opened this issue Nov 13, 2013 · 2 comments

Comments

@nissicreative
Copy link

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
Copy link
Owner

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 [email protected] 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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants