code: function computeDependencyDigest(self) {
    return _.reduce(self.requiredAssets, function (digest, asset) {
      return digest.update(asset.digest);
    }, self.environment.digest).digest('hex');
  }
docs: return digest based on digests of all dependencies