code: async function reduceEntryPointsToDependencies(includePaths, entryPoints) {
    return await entryPoints.reduce(async function (allDeps, entry) {
      const resolvedDeps = await allDeps.then();
      const newDeps = await getDependencies(includePaths, entry);
      return Promise.resolve([
        ...resolvedDeps,
        ...newDeps
      ]);
    }, Promise.resolve([]));
  }
docs: Transform a list of entry points into a list of all dependencies
  @param { Array } entryPoints
  @returns { Array } dependencies