lesscss-maven-plugin icon indicating copy to clipboard operation
lesscss-maven-plugin copied to clipboard

Need a comment displayed in css file with compress=true

Open unclesnottie opened this issue 13 years ago • 1 comments

I'm using a third-party less file under the condition that the author needs to be credited in human readable form in the CSS file. Putting those details in a comment (// style or /* style) causes them to be stripped when compress=true. Is there a way to force a comment to be put in the output file when compress=true?

unclesnottie avatar Nov 07 '12 16:11 unclesnottie

O hey skeller (old threat I see, but maybe still needed?). If you're using YUI compressor on normal css (non-less) you can use /*! */ (the extra exclamation mark) for comments that needs to be preserved after compile. I opened an issue to ask for support in here too.

angelomichel avatar Apr 22 '13 10:04 angelomichel