Why doesn't Appflow use --prod flag when running build

I’m looking at the Appflow build and noticed, that it doesn’t user --prod flag, when building an angular application
image

I am just wondering, why is that the case? Aren’t the js files are not minified in the regular non-production build?

As far as I remember, Angular CLI does production builds by default since a few years ago (around 2019 or 2020), so npm run build should be producing a production build unless your app is not up to date.

You can also change the script that is used to build in appflow, check the webBuildCommand option.