From 605fde2ca6ac3750a4e130b1a0944c9cf73baaa6 Mon Sep 17 00:00:00 2001 From: porink0424 Date: Fri, 29 Mar 2024 17:43:39 +0900 Subject: [PATCH] Add config to exclude unnecessary files from compiling --- tslib/react/src/{MockStudies.tsx => MockStudies.ts} | 0 tslib/react/tsconfig.json | 5 +++++ 2 files changed, 5 insertions(+) rename tslib/react/src/{MockStudies.tsx => MockStudies.ts} (100%) diff --git a/tslib/react/src/MockStudies.tsx b/tslib/react/src/MockStudies.ts similarity index 100% rename from tslib/react/src/MockStudies.tsx rename to tslib/react/src/MockStudies.ts diff --git a/tslib/react/tsconfig.json b/tslib/react/tsconfig.json index 8a303544..2ee0a9e7 100644 --- a/tslib/react/tsconfig.json +++ b/tslib/react/tsconfig.json @@ -24,5 +24,10 @@ "jsx": "react-jsx" }, "include": ["src/**/*.ts", "src/**/*.tsx"], + "exclude": [ + "src/**/*.stories.tsx", + "src/**/*.stories.ts", + "src/MockStudies.ts" + ], "references": [{ "path": "./tsconfig.node.json" }] }