text: var glob = require('glob');
  var path = require('path');
  
  exports.getEntry = function(globPath) {
      var files = glob.sync(globPath);
      var entries = {},
          entry, dirname, basename, pathname, extname;
      for (var i = 0; i < files.length; i++) {
          entry = files[i];
          dirname = path.dirname(entry);
          extname = path.extname(entry);
          basename = path.basename(entry, extname);
          pathname = path.join(dirname, basename);
          entries[pathname] = './' + entry;
      }
      return entries;
  }