While shipping bluebird is a good thing, it should be taken care of, that this does not lead to undesired side effects with other scripts, that use some other Promise library.
For this purpose, bluebird should be required only in local scope and be attached to the WebApiClient, so that it can still be used like
WebApiClient.Promise, which would combine polyfill shipping without possibly breaking other scripts.
While shipping bluebird is a good thing, it should be taken care of, that this does not lead to undesired side effects with other scripts, that use some other Promise library. For this purpose, bluebird should be required only in local scope and be attached to the WebApiClient, so that it can still be used like
WebApiClient.Promise
, which would combine polyfill shipping without possibly breaking other scripts.