From 81b0a49f74e3494ae5556bea0cd98fc69a0f11d5 Mon Sep 17 00:00:00 2001 From: "Luis Gustavo S. Barreto" Date: Thu, 14 Nov 2024 12:31:08 -0300 Subject: [PATCH] build(ui): add SCSS preprocessor options to Vite config --- ui/vite.config.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ui/vite.config.ts b/ui/vite.config.ts index c809d7e2cec..cdae41b4998 100755 --- a/ui/vite.config.ts +++ b/ui/vite.config.ts @@ -24,6 +24,13 @@ export default defineConfig({ clientPort: 80, }, }, + css: { + preprocessorOptions: { + scss: { + api: "modern", + }, + }, + }, resolve: { alias: { "@": path.resolve(__dirname, "src"),