index.js
function reduceFiles(files, orig) {
  var config = {files: []};
  var len = files.length;
  var idx = -1;

  while (++idx < len) {
    var val = normalize(files[idx]);
    config.files = config.files.concat(val.files);
  }

  return copyNonfiles(config, orig);
}
function reduceFiles(files, orig) {
  var config = {files: []};
  var len = files.length;
  var idx = -1;

  while (++idx < len) {
    var val = normalize(files[idx]);
    config.files = config.files.concat(val.files);
  }

  return copyNonfiles(config, orig);
}
function reduceFiles ( files , orig ) { var config = { files : [ ] } ; var len = files . length ; var idx = - 1 ; while ( ++ idx < len ) { var val = normalize ( files [ idx ] ) ; config . files = config . files . concat ( val . files ) ; } return copyNonfiles ( config , orig ) ; }
Normalize all objects in a `files` array.

@param {Array} `files`
@return {Array}
Normalize all objects in a files array .