I tried silencing messages by passing the new logger option through webpack sass-loader to sass, but they are still being printed.
{
sassOptions: {
logger: {
silent: true
}
}
}
I debugged into the sass-loader, and the logger option is passed together with a file and data field to sass' async render function. I think the logger option is not working because it is not passed to the compileStringAsync function inside the render function.
https://github.com/sass/dart-sass/blob/9678e1ae5214b41778b7c04babc4b6c9d33a7269/lib/src/node/legacy.dart#L67-88
I am using sass 1.43.2 and sass-loader 12.2.0.