From aa755c8853f0a0cbb4be0c8568225426a4a961c3 Mon Sep 17 00:00:00 2001 From: Aristeidis Bampakos Date: Thu, 8 Apr 2021 20:31:23 +0300 Subject: [PATCH] docs: add entry for prod tsconfig in library files (#41512) Add an entry for TypeScript configuration file used in production PR Close #41512 --- aio/content/guide/file-structure.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/aio/content/guide/file-structure.md b/aio/content/guide/file-structure.md index d3f2d5dbc9..b8188cf9a8 100644 --- a/aio/content/guide/file-structure.md +++ b/aio/content/guide/file-structure.md @@ -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. |