Update Vite SCSS config: enable quietDeps and expand silenceDeprecations list

This commit is contained in:
Jeppe Bundgaard
2026-04-14 17:30:39 +02:00
parent 1236770513
commit bf7c01ce25
+2 -1
View File
@@ -163,7 +163,8 @@ export default defineConfig(({ mode }) => {
preprocessorOptions: {
scss: {
api: 'modern-compiler',
silenceDeprecations: ['import', 'global-builtin', 'legacy-js-api']
quietDeps: true,
silenceDeprecations: ['import', 'global-builtin', 'legacy-js-api', 'if-function']
}
}
},