chore: remove the option modern-compiler

'modern-compiler' is the default if 'sass-embedded' is used since vite 6,
see: https://vite.dev/config/shared-options#css-preprocessoroptions
This commit is contained in:
Dominik Pschenitschni 2024-12-11 10:49:07 +01:00
parent 07df606c68
commit 8f5be72104
1 changed files with 0 additions and 2 deletions

View File

@ -94,11 +94,9 @@ export default defineConfig(({mode}) => {
css: {
preprocessorOptions: {
sass: {
api: 'modern-compiler',
quietDeps: true, // silence deprecation warnings
},
scss: {
api: 'modern-compiler',
additionalData: PREFIXED_SCSS_STYLES,
charset: false, // fixes "@charset" must be the first rule in the file" warnings,
quietDeps: true, // silence deprecation warnings