code: function getEntries(dirName) {
    const entries = {};
    getExamples(dirName, (entryName, filename) => {
      entries[entryName] = filename;
    });
    return entries;
  }
docs: Creates an object with the entry names and file names
  to be transformed.
  
  @param {String} dirName - Name of the directory to read.
  
  @returns {Object} with webpack entry points.