How to Ionic web build with cordova

Hello all,

I’m building a cross platform application, in which I want to use Native Camera functionality, ionic doc suggest that native camera is available for android, ios and browser.
I understand we can build app using
ng run app:ionic-cordova-build --platform=android | ios
but I’m not sure about browser build
as ionic build --prod will not include cordova functionality,
so can i build using this command for web
ng run app:ionic-cordova-build --platform=browser --prod

is this recommended or right way to build with cordova for production web release ?