tooling/lib/dependencies.js
function findDeps(entrypoints) {
  let deps = new Set();

  for (const entrypoint of entrypoints) {
    deps = new Set([...deps, ...walk(entrypoint)]);
  }

  return deps;
}
function findDeps(entrypoints) {
  let deps = new Set();

  for (const entrypoint of entrypoints) {
    deps = new Set([...deps, ...walk(entrypoint)]);
  }

  return deps;
}
function findDeps ( entrypoints ) { let deps = new Set ( ) ; for ( const entrypoint of entrypoints ) { deps = new Set ( [ ... deps , ... walk ( entrypoint ) ] ) ; } return deps ; }
Finds all the dependencies for a given set of entrypoints
@param {Array<string>} entrypoints
@returns {Array<string>}
Finds all the dependencies for a given set of entrypoints