Pardon if below question looks naive to you:
I've go through multiple project developed by angular 9 and most of them having below line in their package.json as posinstall script.
"postinstall": "ngcc --properties es2015 es5 browser module main --first-only --create-ivy-entry-points"
I read the angular documentation and as per my understanding We have added "ngcc" to validate the installed package is compatible with Ivy or not.
Also as per their recommendation, we should not use the "--create-ivy-entry-points" flag as this will cause Node not to resolve the Ivy version of the packages correctly.
Question: Could someone explain the reason for adding other flags and properties eg: "--properties es2015 es5 browser module main --first-only --create-ivy-entry-points" after ngcc in post install script.
Thanks in advance!