From 32a43c6c2d7c4c258dc08437c6e7fcd06630c206 Mon Sep 17 00:00:00 2001 From: PandaDEV <70103896+0PandaDEV@users.noreply.github.com> Date: Fri, 15 Nov 2024 20:56:35 +1000 Subject: [PATCH] fix: deprecation warning from scss --- nuxt.config.ts | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index 8fd6fb4..071a2b2 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -2,5 +2,14 @@ export default defineNuxtConfig({ devtools: { enabled: false }, compatibilityDate: "2024-07-04", - ssr: false -}) \ No newline at end of file + ssr: false, + vite: { + css: { + preprocessorOptions: { + scss: { + api: "modern-compiler", + }, + }, + }, + }, +});