Difference between Ionic 2 Production, release and develop build


#1

What is the difference between ionic 2/3 develop, production and release build?

I know Production build will optimize your code and it will reduce the size of the output file which will be used for publishing the app to the appstore.

what exactly production build is doing In technical terms?

Is it possible to avoid optimization for production build by passing any command line arguments?


#2

There is dev vs. production (--prod) which applies to the HTML/JS/Angular app inside your app.
There is debug vs. release (--prod) which applies to the native container app wrapping your app from the outside.[quote=“lakshmanankuppan, post:1, topic:97003”]
what exactly production build is doing In technical terms?
[/quote]

See here what the build process actually does: https://github.com/ionic-team/ionic-app-scripts