From 59f796331a500d0db2a9173663ec2007d22848f4 Mon Sep 17 00:00:00 2001 From: Damillora Date: Sun, 23 Feb 2025 08:09:26 +0000 Subject: [PATCH] chore: update scss config in vite --- web/app/src/variables.scss | 1 - web/app/vite.config.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 web/app/src/variables.scss diff --git a/web/app/src/variables.scss b/web/app/src/variables.scss deleted file mode 100644 index e749c8b..0000000 --- a/web/app/src/variables.scss +++ /dev/null @@ -1 +0,0 @@ -/* Variables and mixins declared here will be available in all other SCSS files */ diff --git a/web/app/vite.config.ts b/web/app/vite.config.ts index fb86d6d..64403c1 100644 --- a/web/app/vite.config.ts +++ b/web/app/vite.config.ts @@ -7,7 +7,7 @@ export default defineConfig({ css: { preprocessorOptions: { scss: { - additionalData: '@use "src/variables.scss" as *;', + api: 'modern-compiler' // or "modern" }, }, },