The command ng build --prod its not working, it gave me the Error: Unknown argument: prod
I want to use it because I want to have the AOT to be optimized.
So right now I'm testing for first time the build option and I face this
Hi Arturo,
In the latest version of Angular, you no longer need to use the `--prod` flag with the `ng build` command. The production configurations, including Ahead-of-Time (AOT) compilation, are now included by default when you use the `ng build` command.
You can simply use the following command to build your Angular application for production:
ng build