From 4a2eeac90ba4aab67e037fb0e4db443313c884f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Theod=C3=B3r=20T=C3=B3mas?= Date: Mon, 12 Jan 2026 23:57:12 +0700 Subject: [PATCH] perf: reduce bundle size (#7094) --- packages/survey-ui/tsconfig.json | 1 + packages/survey-ui/vite.config.mts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/survey-ui/tsconfig.json b/packages/survey-ui/tsconfig.json index 82069ba91c..45307ffa64 100644 --- a/packages/survey-ui/tsconfig.json +++ b/packages/survey-ui/tsconfig.json @@ -10,6 +10,7 @@ }, "resolveJsonModule": true }, + "exclude": ["src/**/*.stories.tsx", "src/**/story-helpers.tsx", "src/**/*.test.ts"], "extends": "@formbricks/config-typescript/react-library.json", "include": ["src"] } diff --git a/packages/survey-ui/vite.config.mts b/packages/survey-ui/vite.config.mts index 4c5a42d119..6f9e0a87a4 100644 --- a/packages/survey-ui/vite.config.mts +++ b/packages/survey-ui/vite.config.mts @@ -49,7 +49,7 @@ export default defineConfig({ tsconfigPaths(), dts({ include: ["src"], - exclude: ["**/*.stories.tsx", "**/*.test.ts", "**/story-helpers.ts"], + exclude: ["**/*.stories.tsx", "**/*.test.ts", "**/story-helpers.tsx"], }), tailwindcss(), ],