I am trying to disable line comments in a comp file. config config.rb, but I still keep getting links to the scss file in my regular css file.
# Set this to the root of your project when deployed: http_path = "/" css_dir = "stylesheets" sass_dir = "sass" images_dir = "images" javascripts_dir = "javascripts" # You can select your preferred output style here (can be overridden via the command line): # output_style = :expanded or :nested or :compact or :compressed # To enable relative paths to assets via compass helper functions. Uncomment: # relative_assets = true # To disable debugging comments that display the original location of your selectors. Uncomment: line_comments = false
I restarted the compass. Deleted my cache folder and my css file after saving my .scss. What am I doing wrong here?
My config.rb file was ignored. Fixed by going to the folder with the command line and typing compass watchfrom the folder.
compass watch
Still puzzles, because I have other projects in my WAMP folder, and I just use compass watch [project] for those, and config.rbare not ignored for them.
config.rb
"", , sass/scss , ( "//" ).
, Perl .css , sass :
sass -fCE utf-8 -t compressed application.sass application.css perl -pi -e'BEGIN{$/=undef}s#/\*.*?\*/##gs' application.css
It worked for me
compass_config do |config| config.sass_options = { :line_comments => false } end