sasscompass-sassbrunch

How to remove SASS debug from Brunch.io compiled CSS?


When I compile my SCSS code in to CSS using Brunch.io it adds the following to the CSS.

@media -sass-debug-info{filename{font-family:file\:[*FILE PATH REMOVED*]/reset\.scss}line{font-family:\000031}}

I have tried adding a "quiet" flag to the Brunch config file (as suggested here: https://github.com/brunch/sass-brunch) but this doesn't seem to make a difference.

How can I stop the compiler from adding these lines?


Solution

  • Try to disable :debug_info to false. Like this in config.rb:

    debug_info = false
    

    Or in brunch config file you should edit these lines:

    config =
       plugins:
         sass:
             debug: 'comments'