code: function parseChildInputpaths(build) {
    function parse(build) {
      let inputpaths = [];
  
      build.forEach(build => {
        inputpaths = inputpaths.concat(build.inputpaths, build.builds ? parse(build.builds) : []);
      });
  
      return inputpaths;
    }
  
    build.childInputpaths = parse(build.builds);
  }
docs: Parse nested child input paths
  @param {Build} build