All our SAP BTP deployment to Cloud Foundry from CAP project issue this annoying warning
INFO executing the "npm install --production" command...
npm warn config production Use --omit=dev instead.
I reported it to SAP via an incident and they told me this
I figured it's not the CAP tools, but the mbt tool that creates the npm install --production commands for MTA modules of type hdb.
I will dispatch the ticket to the respective team.
thanks