From 6b877ea48736f5ce5f3e53881b6d7add2cc1d5f8 Mon Sep 17 00:00:00 2001 From: Kurund Jalmi Date: Fri, 10 May 2024 10:05:56 +0100 Subject: [PATCH] exclude assets --- vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index 94f94900e..5c5a5ea24 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -35,7 +35,7 @@ export default ({ command, mode }: ConfigEnv): UserConfigExport => { // choosing istanbul for now because of this https://github.com/vitest-dev/vitest/issues/1252 provider: 'istanbul', // or 'c8', include: ['src/**/**'], - exclude: ['node_modules/', '**/*.test.tsx'], + exclude: ['node_modules/', '**/*.test.tsx', './src/assets/**'], }, css: true, },