diff --git a/vite.config.ts b/vite.config.ts index 2328e17..bd82888 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -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" + } + } + } })