diff --git a/vite.config.ts b/vite.config.ts index c439373..1a042b3 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -23,7 +23,8 @@ const config: UserConfig = { css: { preprocessorOptions: { scss: { - additionalData: `@import "${srcPath}/styles/common.scss";` + api: 'modern-compiler', + additionalData: `@use "${srcPath}/styles/common" as *;` } } },