From a25d83f2499898d15ed4907ca67a0fd67822736c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=98=E7=80=AC=E3=81=93=E3=81=93=E3=81=82?= Date: Thu, 3 Oct 2024 09:09:37 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20sass=E3=81=AEmodern-compiler=E3=82=92?= =?UTF-8?q?=E4=BD=BF=E3=81=86=E3=82=88=E3=81=86=E3=81=AB=20(#14651)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(frontend-embed): ビルド時にsassのmodern-compilerを使うように * fix(frontend): ビルド時にsassのmodern-compilerを使うように --- packages/frontend-embed/vite.config.ts | 5 +++++ packages/frontend/vite.config.ts | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/packages/frontend-embed/vite.config.ts b/packages/frontend-embed/vite.config.ts index 64e67401c2..2dbee488c5 100644 --- a/packages/frontend-embed/vite.config.ts +++ b/packages/frontend-embed/vite.config.ts @@ -91,6 +91,11 @@ export function getConfig(): UserConfig { } }, }, + preprocessorOptions: { + scss: { + api: 'modern-compiler', + }, + }, }, define: { diff --git a/packages/frontend/vite.config.ts b/packages/frontend/vite.config.ts index e982df8ffd..504562a91e 100644 --- a/packages/frontend/vite.config.ts +++ b/packages/frontend/vite.config.ts @@ -109,6 +109,11 @@ export function getConfig(): UserConfig { } }, }, + preprocessorOptions: { + scss: { + api: 'modern-compiler', + }, + }, }, define: {