I got something like this:
ng build --prod --no-aot
But I am not able to understand what is the difference between
ng build --
The flag --prod does the AOT compilation by default. If you want to build without AOT then simply run ng build only without any flag.
--prod
ng build