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(), ],