How to remove automatic comments generated by Compass?

1

I write the code in SCSS, and when I generate the CSS it comes with comments of where the Class or ID is in my SCSS.

Does anyone know how I can remove these comments generated by the compass from my CSS file?

    
asked by anonymous 10.03.2014 / 20:07

2 answers

4

Change the settings in your config.rb .

You can set the variable output_style to :compressed for example. In the comment line of this variable, by default you have written other options, you can test them to see which one fits your needs best.

    
10.03.2014 / 20:11
0

You can disable line comments . They are generally used to help debug and troubleshoot large projects with many SASS files.

in config.rb you add:

line_comments = false
    
28.01.2016 / 16:32