In a large Angular application, you want to ensure that the build process is optimized for production, with minimized bundle size and improved performance. Which Angular CLI command or option would you use?

  • ng build --development
  • ng build --prod --aot
  • ng build --watch
  • ng build --optimize
To optimize a large Angular application for production with minimized bundle size and improved performance, you would use the "ng build --prod --aot" command (option b). This enables Ahead-of-Time (AOT) compilation and produces optimized bundles.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *