Skip to content

Commit e930dbc

Browse files
committed
fix: accidentally removed sass preprocessor options at 083053f
1 parent 8598741 commit e930dbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/quietSassWarnings.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export function enableQuietSassWarnings(context: ModuleContext, config: ViteConf
3939
warn: silenceSlashDivDeprecations,
4040
}
4141
}
42-
config.css.preprocessorOptions.scss = defu(userConfig, sassConfig) as SassPreprocessorOptions
42+
config.css.preprocessorOptions[type] = defu(userConfig, sassConfig) as SassPreprocessorOptions
4343
}
4444
}
4545

0 commit comments

Comments
 (0)