build: enable modern API for indented Sass (#605)

This commit is contained in:
InfinityPacer
2026-07-31 06:18:36 +08:00
committed by GitHub
parent 544acc0758
commit 999f8bf18c

View File

@@ -251,6 +251,10 @@ export default defineConfig(({ command, mode, isPreview }) => ({
},
css: {
preprocessorOptions: {
sass: {
api: 'modern-compiler',
quietDeps: true,
},
scss: {
api: 'modern-compiler',
quietDeps: true,