fixed deprecated api when migrating to sass 3 (#549)

This commit is contained in:
Hoan Luu Huu
2025-07-15 19:27:02 +07:00
committed by GitHub
parent c0a40dd784
commit 6e4d663337
10 changed files with 34 additions and 23 deletions

View File

@@ -15,6 +15,15 @@ export default defineConfig(() => {
src: path.resolve(__dirname, "src"),
},
},
// Configure Sass to use the modern API
css: {
preprocessorOptions: {
scss: {
api: "modern-compiler",
},
},
},
};
return config;