lib/babel-compile.js
function getFiles(paths) {
  var result = fileUtil.getAllFiles(paths);

  var files = result.map(function (item) {
    return item.relativePath;
    // return path.join(item.basePath, item.relativePath);
  });

  return files;
}
function getFiles(paths) {
  var result = fileUtil.getAllFiles(paths);

  var files = result.map(function (item) {
    return item.relativePath;
    // return path.join(item.basePath, item.relativePath);
  });

  return files;
}
function getFiles ( paths ) { var result = fileUtil . getAllFiles ( paths ) ; var files = result . map ( function ( item ) { return item . relativePath ; // return path.join(item.basePath, item.relativePath); } ) ; return files ; }
get all files
@param paths
get all files