[英]Use of tsconfig.app.json
I am unable to understand the use of tsconfig.app.json in src folder in Angular-2 cli project. 我无法理解在Angular-2 cli项目的src文件夹中使用tsconfig.app.json。 I know that tsconfig.json is use by typescript compiler, so why tsconfig.app.json? 我知道tsconfig.json是由typescript编译器使用的,为什么tsconfig.app.json?
There are a few tsconfig.json files in the standard angular project. 标准角度项目中有一些tsconfig.json文件。 Here are the one you have asked about: 以下是您询问的问题:
tsconfig.json
provides the base options that different config files derive from. 根tsconfig.json
提供了不同配置文件派生自的基本选项。 tsconfig.app.json
provides the options used when working with code in the app
folder. app tsconfig.app.json
提供了在app
文件夹中处理代码时使用的选项。 This allows you to further customize the options from tsconfig.json
这允许您进一步自定义tsconfig.json
的选项 Other tsconfig files follow the same (base + customization) pattern. 其他tsconfig文件遵循相同(基本+自定义)模式。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.