Q. What is the purpose of the Angular CLI command 'ng build --prod'?

  • (A) Build the app for development
  • (B) Build the app optimized for production
  • (C) Serve the app locally
  • (D) Generate a new component
πŸ’¬ Discuss
βœ… Correct Answer: (B) Build the app optimized for production
Explanation: The --prod flag applies optimizations like AOT, minification, and tree shaking.
Explanation by: Mr. Dubey
The --prod flag applies optimizations like AOT, minification, and tree shaking.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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