I want to build Angular with sourceMap, but without map file reference, so a hidden option must be set in angular.json but a json file is not flexible, I want to set it as command line parameter, just as
ng build --source-map=true/false
It seems like sourceMap can only set to true/false.
Is there any way to pass a object value to commmand-line parameter? like:
ng build --source-map=scripts:true,hidden:true