A

Admin • 833.24K Points
Coach

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
  • Correct Answer - Option(B)
  • Views: 35
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

The --prod flag applies optimizations like AOT, minification, and tree shaking.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.