code: function(vendorTree) {
      const pubnubPath = path.dirname(require.resolve('pubnub/dist/web/pubnub.js'));
      const pubnubTree = new Funnel(pubnubPath, {
        src: 'pubnub.js',
        dest: './',
        annotation: 'Funnel (PubNub)'
      });
  
      return mergeTrees([vendorTree, pubnubTree]);
    }
docs: Resolve the path to the PubNub web
  bundle and transpose the files in
  that path into the project's vendor
  folder during build time.
  
  @method treeForVendor
  
  @params {Object} vendorTree
  The broccoli tree representing vendor files.