-
In webpack. we can do as bellow (code from vue-loader documentation): // webpack.config.js -> module.rules
{
test: /\.sass$/,
use: [
'vue-style-loader',
'css-loader',
{
loader: 'sass-loader',
options: {
indentedSyntax: true,
// sass-loader version >= 8
sassOptions: {
indentedSyntax: true
}
}
}
]
} But how can we set the I tried this following the vite document but not work: css: {
preprocessorOptions: {
scss: {
sassOptions: { quietDeps: true },
},
},
}, What I need indeed is to hide third-party sass deps' warning messages in terminal. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
It works fine for me, like this:
|
Beta Was this translation helpful? Give feedback.
-
Had this issue in 2024 with an external theme file and another issue (im stuck on an old version of a sass library which does some division) quietDeps never worked for me for either of these errors:
for anyone reading this i want to save you the hours I wasted on this: vite.config.js
(with vite/5.4.8, "sass-embedded": "^1.79.4", vue2, vuetify v2) |
Beta Was this translation helpful? Give feedback.
It works fine for me, like this: