docs: add entry for prod tsconfig in library files (#41512)

Add an entry for TypeScript configuration file used in production

PR Close #41512
This commit is contained in:
Aristeidis Bampakos 2021-04-08 20:31:23 +03:00 committed by Zach Arend
parent 25e46c1fe4
commit aa755c8853
1 changed files with 3 additions and 2 deletions

View File

@ -171,9 +171,9 @@ my-workspace/
## Library project files
When you generate a library using the CLI (with a command such as `ng generate library my-lib`), the generated files go into the projects/ folder of the workspace. For more information about creating your own libraries, see [Creating Libraries](guide/creating-libraries).
When you generate a library using the CLI (with a command such as `ng generate library my-lib`), the generated files go into the `projects/` folder of the workspace. For more information about creating your own libraries, see [Creating Libraries](guide/creating-libraries).
Libraries (unlike applications and their associated e2e projects) have their own `package.json` configuration files.
Libraries (unlike applications and their associated e2e projects) have their own `package.json` configuration file.
Under the `projects/` folder, the `my-lib` folder contains your library code.
@ -186,5 +186,6 @@ Under the `projects/` folder, the `my-lib` folder contains your library code.
| `ng-package.json` | Configuration file used by [ng-packagr](https://github.com/ng-packagr/ng-packagr) for building your library. |
| `package.json` | Configures [npm package dependencies](guide/npm-packages) that are required for this library. |
| `tsconfig.lib.json` | Library-specific [TypeScript](https://www.typescriptlang.org/) configuration, including TypeScript and Angular template compiler options. See [TypeScript Configuration](guide/typescript-configuration). |
| `tsconfig.lib.prod.json` | Library-specific [TypeScript](https://www.typescriptlang.org/) configuration that is used when building the library in production mode. |
| `tsconfig.spec.json` | [TypeScript](https://www.typescriptlang.org/) configuration for the library tests. See [TypeScript Configuration](guide/typescript-configuration). |
| `tslint.json` | Library-specific [TSLint](https://palantir.github.io/tslint/) configuration. |