Q. Which command compiles an Angular app in production mode?

  • (A) ng build --prod
  • (B) ng compile prod
  • (C) ng start prod
  • (D) ng deploy
πŸ’¬ Discuss
βœ… Correct Answer: (A) ng build --prod
Explanation: The --prod flag compiles the Angular app with optimizations for production.
Explanation by: Mr. Dubey
The --prod flag compiles the Angular app with optimizations for production.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
72
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
97%
Success Rate