Angular production or development mode?

Should I enable production mode before building my Ionic app to android or iOS platforms for production?
What is the difference in term of performance?


1 Like

Yes you should enable production mode. The app works with a debug view enabled otherwise which has higher memory consumption. Angular will also do a double pass of change detection in debug mode.

How do you enable production mode?

This post has the answer enableProdMode() question

It’s detailed in the docs under Config Property

Hope this helps!

1 Like