Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run compass compile without file or line reference?

How can I suppress file or line reference such as the commented output line below when running compass compile and possibly keep --output-style expanded by default?

/* line 85, ../../../app/stylesheets/simpla/style.sass */
.align-right { 
  float: right;
}

The problem is whenever I make 1 line change in sass, it makes 50+ line changes to my css to update all the reference line numbers that got adjusted. This makes it really hard to read the actual changes in my git commit.

like image 862
konyak Avatar asked Oct 26 '12 04:10

konyak


1 Answers

Nevermind, just figured it out. In config/compass.rb, set:

line_comments = false

This will suppress/remove the comments from the compiled css files.

like image 189
konyak Avatar answered Nov 05 '22 03:11

konyak