-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Ability to leave comments #202
Comments
Cheers |
thanks for clarifying. I'm talking about the compressed version. I believe it does not leave comments at all. |
Maybe leaving header comments could make sense in the compressed version, but the point of the compressed version is to be as small as possible |
yea. you are right. thanks again for the great tool |
oh. and closing this one. |
My need for keeping comments is due to using LESS with WordPress. WordPress Themes are initialized by the comment declaration at the top of the CSS (http://codex.wordpress.org/Theme_Development#Theme_Stylesheet). It would help to have a way to preserve this specific comment, but still output the minified version... just like tipiirai pointed out. I'm able to do this in Sass with a /*! ... */. |
Looking through the source, I see that the minifier now allows you to preserve comments by going |
Oops, never mind -- looks like I have to pass |
As the person that added the yuicompress option, I'd really really like it to be in the documentation, but so far no luck in getting @cloudhead's attention. |
Is there any way to completely ignore |
Output without compression 11then compress yourself.. ask cleancss for an |
@lukeapage , hi.
Yes, I will. But I don't say anything about compression. I mean, I would like to use block comments in many ways as line comments and I don't need them in output at all. |
Sorry I don't understand. Less does remove // comments and keeps /* |
I'd like to leave comments to the resulting CSS file. For example
Allows me to put in a license or if I want the resulting CSS file to be editable comments are crucial.
Thanks for the amazing tool!
Tero
The text was updated successfully, but these errors were encountered: