Commit bd15971a4a323ea467579fc4da50c4fa441aa40d
1 parent
5ec48e6d
pref:优化了tsconfig.json 新增removeComments用来移除所有打印信息
Showing
1 changed file
with
1 additions
and
0 deletions
| @@ -21,6 +21,7 @@ | @@ -21,6 +21,7 @@ | ||
| 21 | "typeRoots": ["./node_modules/@types/", "./types"], | 21 | "typeRoots": ["./node_modules/@types/", "./types"], |
| 22 | "noImplicitAny": false, | 22 | "noImplicitAny": false, |
| 23 | "skipLibCheck": true, | 23 | "skipLibCheck": true, |
| 24 | + "removeComments": true, | ||
| 24 | "paths": { | 25 | "paths": { |
| 25 | "/@/*": ["src/*"], | 26 | "/@/*": ["src/*"], |
| 26 | "/#/*": ["types/*"] | 27 | "/#/*": ["types/*"] |