From 5686e2222c073d0705f5e13930724a337884b338 Mon Sep 17 00:00:00 2001 From: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com> Date: Mon, 3 Jun 2024 12:50:41 +0200 Subject: [PATCH] fix: Force type safety in design system (no-changelog) (#9586) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ --- packages/design-system/vite.config.mts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/design-system/vite.config.mts b/packages/design-system/vite.config.mts index 3b5e32a15c..bbfeb89a08 100644 --- a/packages/design-system/vite.config.mts +++ b/packages/design-system/vite.config.mts @@ -30,7 +30,7 @@ export const vitestConfig = defineVitestConfig({ }) as UserConfig; const plugins = [vue()]; -if (process.env.ENABLE_TYPE_CHECKING === 'true') { +if (!process.env.VITEST) { plugins.push(checker({ vueTsc: true })); }