Use of tsconfig.app.json

后端 未结 1 1265
长发绾君心
长发绾君心 2021-01-01 14:50

I am unable to understand the use of tsconfig.app.json in src folder in Angular-2 cli project. I know that tsconfig.json is use by typescript compiler, so why tsconfig.app.j

1条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-01 15:16

    There are a few tsconfig.json files in the standard angular project. Here are the one you have asked about:

    • The root tsconfig.json provides the base options that different config files derive from.
    • The app tsconfig.app.json provides the options used when working with code in the app folder. This allows you to further customize the options from tsconfig.json

    Other tsconfig files follow the same (base + customization) pattern.

    0 讨论(0)
提交回复
热议问题