Ionic serve in prod mode
Can we have something like this added to the cli?
ionic serve --prod
This would be a huge help for testing the app when you have different codes for prod and dev. One example can be having different environment variables set up.
Right now the only way to run the app in prod mode is to run it on a device which is very time consuming at least.
It's not possible right now: https://github.com/driftyco/ionic-app-scripts/issues/709
Is there any other alternative to get an optimized build for production deployment of web-app?
After reading this: https://github.com/driftyco/ionic-app-scripts/issues/709#issuecomment-277454896 I'm closing this for now.