function getPathInfo(filepath, dest) {
      var outfileName = path.basename(filepath, '.swig'),
        dirName = path.dirname(filepath),
        outfilePath = path.normalize(path.relative(options.templatesDir, dirName)),
        outfile = path.join(dest, outfilePath, outfileName);
      return { outfileName: outfileName, dirName: dirName, outfilePath: outfilePath, outfile: outfile };
    }
function getPathInfo(filepath, dest) {
      var outfileName = path.basename(filepath, '.swig'),
        dirName = path.dirname(filepath),
        outfilePath = path.normalize(path.relative(options.templatesDir, dirName)),
        outfile = path.join(dest, outfilePath, outfileName);
      return { outfileName: outfileName, dirName: dirName, outfilePath: outfilePath, outfile: outfile };
    }
function getPathInfo ( filepath , dest ) { var outfileName = path . basename ( filepath , '.swig' ) , dirName = path . dirname ( filepath ) , outfilePath = path . normalize ( path . relative ( options . templatesDir , dirName ) ) , outfile = path . join ( dest , outfilePath , outfileName ) ; return { outfileName : outfileName , dirName : dirName , outfilePath : outfilePath , outfile : outfile } ; }
Get path info for src/dest
Get path info for src / dest