📜  typescript 排除 jest 文件 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:34.756000             🧑  作者: Mango

代码示例1
For more info on working with multiple tsconfig.json files,
see this StackOverflow answer.
Basically you would make use of the "extends" field so as to not
duplicate your compiler options overmuch.

You may need to change how you run tsc just a tad:

tsc --project tsconfig.production.json 
# or whatever you call your other tsconfig