WebOptimizer.Sass icon indicating copy to clipboard operation
WebOptimizer.Sass copied to clipboard

AddScssBundle WebOptimazerScssOptions SourceComments option not implemented?

Open baldvinhansson opened this issue 2 years ago • 0 comments

The option to strip source comments from the processed SCSS bundle appears to be available to set but is not working. I wonder if I'm missing something or if this is perhaps just a future feature?

The file https://github.com/ligershark/WebOptimizer.Sass/blob/f57bc089d1d8b9e19e526d90c202c0d148bc8d45/src/Compiler.cs indicates that this option is not carried forward via the commented-out line no. 70:

//settings.SourceComments = options.SourceComments

My minified files have source file comments included. I wonder if I'm doing something wrong or if this is simply not a feature yet?

baldvinhansson avatar Jul 07 '22 15:07 baldvinhansson