function filter(files) {
  return files.map(prune).filter(function(obj) {
    return obj.src && obj.src.length > 0;
  });
}
Remove files config objects with no src files.
@param {Array} files Array of files config objects.
@return {Array} Filtered array of files config objects.