index.js
function generateManifest(entryPoint) {
    var added = new Set();
    var manifest = [];

    function addTransitiveDeps(symbol) {
      added.add(symbol);
			var symDeps = deps[symbol];
			if (symDeps) {			
				symDeps.forEach(function(dependency) {
					if (!added.has(dependency)) {
						addTransitiveDeps(dependency);
					}
				});
			} else {
				gutil.log('No deps found for symbol', symbol, deps);
			}
      manifest.push(symbolsFile[symbol]);
    }

    addTransitiveDeps(entryPoint);
    return manifest;
  }
function generateManifest(entryPoint) {
    var added = new Set();
    var manifest = [];

    function addTransitiveDeps(symbol) {
      added.add(symbol);
			var symDeps = deps[symbol];
			if (symDeps) {			
				symDeps.forEach(function(dependency) {
					if (!added.has(dependency)) {
						addTransitiveDeps(dependency);
					}
				});
			} else {
				gutil.log('No deps found for symbol', symbol, deps);
			}
      manifest.push(symbolsFile[symbol]);
    }

    addTransitiveDeps(entryPoint);
    return manifest;
  }
function generateManifest ( entryPoint ) { var added = new Set ( ) ; var manifest = [ ] ; function addTransitiveDeps ( symbol ) { added . add ( symbol ) ; var symDeps = deps [ symbol ] ; if ( symDeps ) { symDeps . forEach ( function ( dependency ) { if ( ! added . has ( dependency ) ) { addTransitiveDeps ( dependency ) ; } } ) ; } else { gutil . log ( 'No deps found for symbol' , symbol , deps ) ; } manifest . push ( symbolsFile [ symbol ] ) ; } addTransitiveDeps ( entryPoint ) ; return manifest ; }
Adds the transitive dependencies of the symbol to the manifest.
Adds the transitive dependencies of the symbol to the manifest .