chore: use modoern compiler for scss preprocessing

This commit is contained in:
Minhyeok Park 2024-11-12 10:33:41 +09:00
parent 145aa06095
commit b843facac6
Signed by: pmh_only
SSH Key Fingerprint: SHA256:g/OyGvi2pcd8ub9mqge/ohmDP0fZX/xOPWPIcM+9XpI

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"
}
}
}
})