From 4a59e4445457a4224de986b2ab3623b50522bfcc Mon Sep 17 00:00:00 2001 From: Luke Vella Date: Sun, 9 Jun 2024 12:23:43 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20vitest=20cjs=20warning?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web/tsconfig.json | 8 +++++++- apps/web/{vitest.config.ts => vitest.config.mts} | 1 - 2 files changed, 7 insertions(+), 2 deletions(-) rename apps/web/{vitest.config.ts => vitest.config.mts} (87%) diff --git a/apps/web/tsconfig.json b/apps/web/tsconfig.json index 41bf78c2f..936b2c48a 100644 --- a/apps/web/tsconfig.json +++ b/apps/web/tsconfig.json @@ -8,6 +8,12 @@ }, "strictNullChecks": true, }, - "include": ["**/*.ts", "**/*.tsx", "**/*.js", ".next/types/**/*.ts"], + "include": [ + "**/*.ts", + "**/*.tsx", + "**/*.js", + ".next/types/**/*.ts", + "vitest.config.mts", + ], "exclude": ["node_modules", ".next/**/*"], } diff --git a/apps/web/vitest.config.ts b/apps/web/vitest.config.mts similarity index 87% rename from apps/web/vitest.config.ts rename to apps/web/vitest.config.mts index f42999196..8e2733a74 100644 --- a/apps/web/vitest.config.ts +++ b/apps/web/vitest.config.mts @@ -1,4 +1,3 @@ -/// import path from "path"; import { defineConfig } from "vitest/config";