소스 검색

🐲: optimize the configuration of tsconfigo

chenshuai2144 5 년 전
부모
커밋
7eec4d0fab
1개의 변경된 파일12개의 추가작업 그리고 0개의 파일을 삭제
  1. 12 0
      tsconfig.json

+ 12 - 0
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"]
 }