Q. Which command builds the Angular app for production?

  • (A) ng run
  • (B) ng prod
  • (C) ng build --prod
  • (D) ng serve --prod
πŸ’¬ Discuss
βœ… Correct Answer: (C) ng build --prod
Explanation: `ng build --prod` compiles and optimizes the app for production.
Explanation by: Mr. Dubey
`ng build --prod` compiles and optimizes the app for production.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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