With webpack, we can set sassOptions like below:
{
loader: require.resolve('sass-loader'),
options: {
sassOptions: { quietDeps: true },
},
}
Following the vite document, I'm trying to config as below:
css: {
preprocessorOptions: {
scss: {
sassOptions: { quietDeps: true },
},
},
},
But it seems not work for me. What I need is to hide third-party sass deps's warning message in terminal.
ReferenceErrror: scss is not defined
here. – Tannertannery