webpack loader transforms react router configuration defined in json/yaml file into react-router-config module