From 90a8f559b4610b710e1d6fb2fff9f9603301d15f Mon Sep 17 00:00:00 2001 From: Nathan Vasse Date: Tue, 29 Aug 2023 16:17:55 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8(react)=20fix=20stories=20file=20wa?= =?UTF-8?q?rnings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Revert the changes made in the d05e385 commit, it was causing IDE warnings in stories files about source files that cannot be resolved, but in reality Storybook really base its config on the local tsconfig.json, so excluding stories.tsx files was just a ugly temporary fix. --- packages/react/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/tsconfig.json b/packages/react/tsconfig.json index 5a04f7d..8f9f026 100644 --- a/packages/react/tsconfig.json +++ b/packages/react/tsconfig.json @@ -8,6 +8,6 @@ "types": ["vitest/globals", "vite/client"] }, "include": ["src", "cunningham.ts"], - "exclude": ["node_modules", "dist", "**/tokens.ts", "**/*.stories.tsx"], + "exclude": ["node_modules", "dist", "**/tokens.ts"], "references": [{ "path": "./tsconfig.node.json" }] }