From 7eec4d0faba2f0c723e65ca68207b915402d4562 Mon Sep 17 00:00:00 2001 From: chenshuai2144 Date: Mon, 7 Sep 2020 18:11:45 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=B2:=20optimize=20the=20configuration?= =?UTF-8?q?=20of=20tsconfigo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tsconfig.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tsconfig.json b/tsconfig.json index d50aa7d2..814972ce 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -22,5 +22,17 @@ "@@/*": ["./src/.umi/*"] } }, + "include": [ + "src/**/*", + "tests/**/*", + "test/**/*", + "__test__/**/*", + "typings/**/*", + "config/**/*", + ".eslintrc.js", + ".stylelintrc.js", + ".prettierrc.js", + "jest.config.js" + ], "exclude": ["node_modules", "build", "dist", "scripts", "src/.umi/*", "webpack", "jest"] } -- GitLab