lib/gulp-import-tasks.js
function parseFile(dir, filename) {
  const filePath = path.join(dir, filename);
  const fileStat = fs.statSync(filePath);
  const fileExt = path.extname(filename);

  return {
    path: filePath,
    stat: fileStat,
    ext: fileExt
  };
}
function parseFile(dir, filename) {
  const filePath = path.join(dir, filename);
  const fileStat = fs.statSync(filePath);
  const fileExt = path.extname(filename);

  return {
    path: filePath,
    stat: fileStat,
    ext: fileExt
  };
}
function parseFile ( dir , filename ) { const filePath = path . join ( dir , filename ) ; const fileStat = fs . statSync ( filePath ) ; const fileExt = path . extname ( filename ) ; return { path : filePath , stat : fileStat , ext : fileExt } ; }
Parses relevant file properties into a single object.

@param {string} dir
@param {string} filename
@returns {Object}
Parses relevant file properties into a single object .