Parcourir la source

🐲: optimize the configuration of tsconfigo

chenshuai2144 il y a 5 ans
Parent
commit
7eec4d0fab
1 fichiers modifiés avec 12 ajouts et 0 suppressions
  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"]
 }