What is the purpose of * .ngsummary.json

I just found out about AOT, ngcetc. After starting, ngcI see a lot *.ngsummary.json(in the folder srcnext to *.ts).

What are they needed for?

+4
source share
1 answer

This is apparently the new name for the NgFactory files used by the AOT compiler. Find NgFactory on this page Ahead Compilation

Exposure:

After ngc finishes, find the collection of NgFactory files in the aot folder. The aot folder is the directory specified as genDir in tsconfig-aot.json.

factory . factory , JavaScript . , - factory.

0

Source: https://habr.com/ru/post/1679515/


All Articles