Skip to content

Commit

Permalink
fix(ui): only silence the necessary sass warnings
Browse files Browse the repository at this point in the history
closes #6390
  • Loading branch information
elevatebart authored Dec 21, 2024
1 parent 58c1ca2 commit edb7f54
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ui/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import path from "path";
import {defineConfig} from "vite";
import vue from "@vitejs/plugin-vue";
import {visualizer} from "rollup-plugin-visualizer";
import * as sass from "sass"

import {filename} from "./plugins/filename"
import {commit} from "./plugins/commit"
Expand Down Expand Up @@ -44,7 +43,7 @@ export default defineConfig({
devSourcemap: true,
preprocessorOptions: {
scss: {
logger: sass.Logger.silent
silenceDeprecations: ["mixed-decls", "color-functions", "global-builtin", "import"]
},
}
},
Expand Down

0 comments on commit edb7f54

Please sign in to comment.