Browse Source

chore: 禁用sass升级警告

zhangyuhan 5 months ago
parent
commit
78c20e82c5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      apps/bigmember_pc/vite.config.js

+ 1 - 0
apps/bigmember_pc/vite.config.js

@@ -137,6 +137,7 @@ export default defineConfig({
   css: {
     preprocessorOptions: {
       scss: {
+        silenceDeprecations: ['legacy-js-api', 'import'], // 静默所有相关警告
         additionalData: `
           @import "@/assets/style/_mixin.scss";
           @import "@/assets/style/_variables.scss";