mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-19 18:47:41 +08:00
chore(dashboard): silence Sass if-function deprecation warnings
This commit is contained in:
@@ -79,7 +79,11 @@ export default defineConfig(({ command, mode }) => {
|
||||
preprocessorOptions: {
|
||||
scss: {
|
||||
api: "modern-compiler",
|
||||
silenceDeprecations: ["import", "global-builtin"],
|
||||
silenceDeprecations: ["import", "global-builtin", "if-function"],
|
||||
},
|
||||
sass: {
|
||||
api: "modern-compiler",
|
||||
silenceDeprecations: ["import", "global-builtin", "if-function"],
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user