From 07599114318b126d56bb149b13f6006fc14e2fed Mon Sep 17 00:00:00 2001 From: Georgios Kalpakas Date: Thu, 9 Mar 2017 23:11:13 +0200 Subject: [PATCH] docs(compiler-cli): mention that `.ngsummary.json` files should be gitignore'd (#15047) PR Close #15047 --- packages/compiler-cli/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/compiler-cli/README.md b/packages/compiler-cli/README.md index d7817ef0e2..971b2fc452 100644 --- a/packages/compiler-cli/README.md +++ b/packages/compiler-cli/README.md @@ -78,7 +78,8 @@ twice in code reviews, with the generated version inscrutible by the reviewer. In TypeScript 1.8, the generated sources will have to be written alongside your originals, so set `genDir` to the same location as your files (typicially the same as `rootDir`). -Add `**/*.ngfactory.ts` to your `.gitignore` or other mechanism for your version control system. +Add `**/*.ngfactory.ts` and `**/*.ngsummary.json` to your `.gitignore` or other mechanism for your +version control system. In TypeScript 1.9 and above, you can add a generated folder into your application, such as `codegen`. Using the `rootDirs` option, you can allow relative imports like