From 3b144721ec944632ee975fc80254e7e77038a546 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=9D=E5=85=88=E7=91=9E?= <1490493387@qq.com> Date: Sun, 27 Feb 2022 12:53:55 +0800 Subject: [PATCH] =?UTF-8?q?refactor(vite.config.ts):=20=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E6=97=A0=E7=94=A8=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.ts | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index bfb0cd39..575c3a0c 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -40,17 +40,7 @@ export default ({command, mode}: ConfigEnv): UserConfig => { alias: { "@": path.resolve("./src"), // 相对路径别名配置,@表示src } - }, - // SCSS 变量导出 - // @see https://www.vitejs.net/config/#css-preprocessoroptions - /*css: { - preprocessorOptions: { - scss: { - additionalData: `@import "./src/styles/element-variables.scss";`, - javascriptEnabled: true - } - } - }*/ + } } ) }