Use JSON file instead of environment files only for build application in angular 9

I have Multiple json files like config.dv.json, config.local.json etc, and I need to load these json files based on environments by using single command as ng build –prod command.

Source: Angular Questions