chore: use modoern compiler for scss preprocessing

This commit is contained in:
2024-11-12 10:33:41 +09:00
parent 145aa06095
commit b843facac6

View File

@ -4,4 +4,11 @@ import react from '@vitejs/plugin-react-swc'
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
css: {
preprocessorOptions: {
scss: {
api: 'modern-compiler' // or "modern"
}
}
}
})