docs(compiler-cli): mention that .ngsummary.json files should be gitignore'd (#15047)

PR Close #15047
This commit is contained in:
Georgios Kalpakas
2017-03-09 23:11:13 +02:00
committed by Miško Hevery
parent 1d7693c1e1
commit 0759911431

View File

@ -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