docs: function createEntries(plugins) {
      return _.chain(plugins)
          .map(function (plugin) {
              let entry = _.get(plugin, 'raw.plugin.entry')
  
              if (!Array.isArray(entry)) {
                  entry = [entry]
              }
  
              return entry.reduce(function (result, value) {
                  if (value) {
                      result.push(createEntry(path.join(plugin.path, value)))
                  }
                  return result
              }, [])
          })
          .flatten()
          .compact()
          .value()
  }