瀏覽代碼

🐲: 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"]
 }