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?
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?
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.
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