gulpfile.js
function bundleArray(target, src, name, notSelf) {
      var srcValues, targetValues;
      if (src[name]) {
        srcValues = src[name] || [];
        targetValues = target[name] || [];
        target[name] = uniq(targetValues.concat(srcValues.filter(function(d) {
          return !notSelf || d !== target.name;
        })));
      }
    }
function bundleArray(target, src, name, notSelf) {
      var srcValues, targetValues;
      if (src[name]) {
        srcValues = src[name] || [];
        targetValues = target[name] || [];
        target[name] = uniq(targetValues.concat(srcValues.filter(function(d) {
          return !notSelf || d !== target.name;
        })));
      }
    }
function bundleArray ( target , src , name , notSelf ) { var srcValues , targetValues ; if ( src [ name ] ) { srcValues = src [ name ] || [ ] ; targetValues = target [ name ] || [ ] ; target [ name ] = uniq ( targetValues . concat ( srcValues . filter ( function ( d ) { return ! notSelf || d !== target . name ; } ) ) ) ; } }
Bundle all dependencies from the source into the target, but only after removing the circular dependency itself.
Bundle all dependencies from the source into the target but only after removing the circular dependency itself .