From e2fe1ab814e80da4bf641710826ec062c0168392 Mon Sep 17 00:00:00 2001 From: Charles7c Date: Thu, 26 Sep 2024 01:27:49 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B6=88=E9=99=A4=E6=8E=A7=E5=88=B6?= =?UTF-8?q?=E5=8F=B0=20Sass=20=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index e7b6d94..5dff743 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -19,7 +19,8 @@ export default defineConfig(({ command, mode }) => { css: { preprocessorOptions: { scss: { - additionalData: `@import "@/styles/var.scss";` + additionalData: `@import "@/styles/var.scss";`, + api: 'modern-compiler' } } },