remove unwanted comments from .css

3,417 views
Skip to first unread message

Christos

unread,
Nov 30, 2009, 6:29:44 AM11/30/09
to Compass
Is there any way to remove the /* line # comments above each selector?

Chris Eppstein

unread,
Nov 30, 2009, 10:27:35 AM11/30/09
to compas...@googlegroups.com
In your configuration file, set:

line_comments = false

Alternatively, if you compile your stylesheets in "production" mode, they are off and several other sensible defaults are also changed:

compass -e production --force -u

or if you're using 0.10:

compass compile -e production --force

chris

On Mon, Nov 30, 2009 at 3:29 AM, Christos <chris_p...@hotmail.com> wrote:
Is there any way to remove the /* line #  comments above each selector?

--

You received this message because you are subscribed to the Google Groups "Compass" group.
To post to this group, send email to compas...@googlegroups.com.
To unsubscribe from this group, send email to compass-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/compass-users?hl=en.



christos pantazis

unread,
Nov 30, 2009, 4:13:25 PM11/30/09
to compas...@googlegroups.com
Hi again
Neither line_comments = false (in my  config.rg file) nor "compass compile -e production --force" solved the problem with my comments (i use= 0.10)


Date: Mon, 30 Nov 2009 07:27:35 -0800
Subject: Re: [compass] remove unwanted comments from .css
From: ch...@eppsteins.net
To: compas...@googlegroups.com

Chris Eppstein

unread,
Nov 30, 2009, 4:16:16 PM11/30/09
to compas...@googlegroups.com
Brandon just filed a bug about config changes not taking effect due to the sass cache.

Can you delete your .sass-cache directory and compiled css files and try again?

Chris

christos pantazis

unread,
Nov 30, 2009, 4:25:13 PM11/30/09
to compas...@googlegroups.com
Just tried but didn't work. That's crazy because all other options (ie output_style) works perfect
 
Christos

Date: Mon, 30 Nov 2009 13:16:16 -0800

Subject: Re: [compass] remove unwanted comments from .css
From: ch...@eppsteins.net
To: compas...@googlegroups.com

Brandon just filed a bug about config changes not taking effect due to the sass cache.

Can you delete your .sass-cache directory and compiled css files and try again?

Chris

On Mon, Nov 30, 2009 at 1:13 PM, christos pantazis <chris_p...@hotmail.com> wrote:
Hi again
Neither line_comments = false (in my  config.rg file) nor "compass compile -e production --force" solved the problem with my comments (i use= 0.10)


Date: Mon, 30 Nov 2009 07:27:35 -0800
Subject: Re: [compass] remove unwanted comments from .css
From: ch...@eppsteins.net
To: compas...@googlegroups.com


In your configuration file, set:

line_comments = false

Alternatively, if you compile your stylesheets in "production" mode, they are off and several other sensible defaults are also changed:

compass -e production --force -u

or if you're using 0.10:

compass compile -e production --force

chris



Chris Eppstein

unread,
Nov 30, 2009, 4:27:34 PM11/30/09
to compas...@googlegroups.com
I have filed a bug about this:


Sorry for the inconvenience.
Reply all
Reply to author
Forward
0 new messages