From 06b344010302479b39f221685354cad4af8744af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Schr=C3=B6ter?= Date: Tue, 30 Jan 2024 14:18:05 +0100 Subject: [PATCH] build: exclude types for storie and test --- packages/frameworks/react/vite.config.mts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/frameworks/react/vite.config.mts b/packages/frameworks/react/vite.config.mts index a5c4ed3450..6a2362a980 100644 --- a/packages/frameworks/react/vite.config.mts +++ b/packages/frameworks/react/vite.config.mts @@ -14,6 +14,13 @@ export default defineConfig({ dts({ entryRoot: 'src', staticImport: true, + exclude: [ + '**/*.stories.tsx', + '**/*.test.tsx', + '**/tests/*', + '**/stories/*', + '**/setup-test.ts', + ], }), react(), ],