libsass icon indicating copy to clipboard operation
libsass copied to clipboard

Multiline (loud) comments removed in compressed outputStyle

Open sta1r opened this issue 12 years ago • 7 comments

It seems as though multiline comments i.e. /* Multiline comment */ - although normally preserved in SASS output when generated via Compass - are stripped out when using 'compressed' outputStyle in grunt-sass?

sta1r avatar May 01 '14 16:05 sta1r

See http://sass-lang.com/documentation/file.SASS_REFERENCE.html#comments as only loud comments (/*! */) survive the compressed version

nschonni avatar May 01 '14 18:05 nschonni

I've tried loud comments but they don't output either. I believe this may relate to #291 - in which case I guess I can override the version of libsass in grunt-sass?

sta1r avatar May 01 '14 19:05 sta1r

Sorry, I didn't realize that loud comments were a separate thing until this issue got filed! Compressed mode will currently strip all comments.

akhleung avatar May 01 '14 19:05 akhleung

Loud comment would be amazing, WordPress want's to have a theme declaration in the CSS file as a comment.

hilja avatar May 01 '14 19:05 hilja

:+1: for loud comments. I am using libsass in CodeKit and also need loud comments for WordPress themes. :)

iodic avatar May 16 '14 09:05 iodic

+1 also for loud comments. As mentioned earlier, it's needed for WordPress themes.

sethta avatar May 24 '14 14:05 sethta

+1 Keep loud comments!

jonmspencer avatar Apr 24 '15 01:04 jonmspencer