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.
Nevermind, just figured it out. In config/compass.rb, set:
line_comments = false
This will suppress/remove the comments from the compiled css files.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With