Closed bd041556 closed 5 years ago
It's OK for me, PR will be welcome :-)
A PR has been created (Add output style to options). The source code changes are very simple. The README has been updated, and a test case (pass-output-style) has been created.
Thanks, Barry
+fast-sass-loader@1.5.0
We have successfully replaced sass-loader with fast-sass-loader, and are seeing very nice performance improvements. However, our output files are substantially larger. We have traced that to the fact that our rule for sass-loader sets use.options.outputStyle to "compressed"in our webpack configuration file, and we have many comments in our .scss files which outputStyle "compressed" eliminates.
Currently, I don't see a way to pass an outputStyle through fast-sass-loader to node-sass, so we experimented by hacking index.js to do that:
and that worked for us. Can outputStyle be added to the fast-sass-loader options? We can work up a PR if you would like.
Thanks, Barry Bentley