Q. Which command compiles an Angular app in production mode?
β
Correct Answer: (A)
ng build --prod
Explanation: The --prod flag compiles the Angular app with optimizations for production.