I was reading related questions and I found this one, but my question is how can I switch from development to production mode. There are some differences between the modes w
ng build --prod replaces environment.ts with environment.prod.ts
ng build --prod