Live Deploys: Use production build?

When Ionic Pro is building a commit, I can see in the Build Log that it runs “ionic-app-scripts build”. How can we control whether it should do a --prod build instead? So that it deploys a minified build.

Bump.

I have the same question regarding Ionic AppFlow’s Live Update.

A workaround would be to change the package.json's build script to add the --prod option (in the case of the Angular CLI with Ionic 4) but then that changes the default build package script for usage outside of AppFlow.

Are there any other ways to customize the web build?

Thanks!

Kevin