what is ng build aot?
8. ng build –prod OR ng build. AOT Ahead of Time Compilation. The Angular Ahead-of-Time (AOT) compiler converts your Angular HTML and TypeScript code into efficient JavaScript code during the build phase before the browser downloads and runs that code.