lib/config/buildParser.js
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);
}
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);
}
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 ) ; }
Parse nested child input paths
@param {Build} build
Parse nested child input paths