From 018a065d9ed1ef42ae31ef6e38a09a05b81b1d25 Mon Sep 17 00:00:00 2001 From: Charlon Palacay Date: Tue, 26 Nov 2024 14:43:31 -0800 Subject: [PATCH] Update vite config to silence BS deprecation warnings. --- vite.config.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vite.config.js b/vite.config.js index d5fe14c0..3bd9046d 100644 --- a/vite.config.js +++ b/vite.config.js @@ -32,4 +32,12 @@ export default defineConfig({ "@": fileURLToPath(new URL("./app_name_vue", import.meta.url)), }, }, + css: { + preprocessorOptions: { + scss: { + quietDeps: true, + silenceDeprecations: ["global-builtin", "import"], // silence bootstrap5 related deprecations + }, + }, + }, });