{"action":"created","issue":{"url":"https://api.github.com/repos/6to5/6to5/issues/630","labels_url":"https://api.github.com/repos/6to5/6to5/issues/630/labels{/name}","comments_url":"https://api.github.com/repos/6to5/6to5/issues/630/comments","events_url":"https://api.github.com/repos/6to5/6to5/issues/630/events","html_url":"https://github.com/6to5/6to5/issues/630","id":55859359,"number":630,"title":"selfContained transformer promises","user":{"login":"KenPowers","id":174864,"avatar_url":"https://avatars.githubusercontent.com/u/174864?v=3","gravatar_id":"","url":"https://api.github.com/users/KenPowers","html_url":"https://github.com/KenPowers","followers_url":"https://api.github.com/users/KenPowers/followers","following_url":"https://api.github.com/users/KenPowers/following{/other_user}","gists_url":"https://api.github.com/users/KenPowers/gists{/gist_id}","starred_url":"https://api.github.com/users/KenPowers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KenPowers/subscriptions","organizations_url":"https://api.github.com/users/KenPowers/orgs","repos_url":"https://api.github.com/users/KenPowers/repos","events_url":"https://api.github.com/users/KenPowers/events{/privacy}","received_events_url":"https://api.github.com/users/KenPowers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-29T05:50:50Z","updated_at":"2015-01-29T06:14:50Z","closed_at":null,"body":"In 6to5 v2 I used to use [Bluebird](https://github.com/petkaantonov/bluebird) from the global scope as such:\r\n\r\n```js\r\nvar p = new Promise(...); // That's a Bluebird promise\r\n```\r\n\r\nNow in v3, however, the Promise constructor is always changed to the following unless `Promise` is found in the local scope:\r\n\r\n```js\r\nvar p = new _core.Promise(function () {}); // That's not a Bluebird promise\r\n```\r\n\r\nIs there a way to avoid this? Basically I want to use `selfContained` (since I was using the runtime in v2) but I want to avoid the automatic `core-js` aliasing (or at least just for Promises)."},"comment":{"url":"https://api.github.com/repos/6to5/6to5/issues/comments/71974384","html_url":"https://github.com/6to5/6to5/issues/630#issuecomment-71974384","issue_url":"https://api.github.com/repos/6to5/6to5/issues/630","id":71974384,"user":{"login":"sebmck","id":853712,"avatar_url":"https://avatars.githubusercontent.com/u/853712?v=3","gravatar_id":"","url":"https://api.github.com/users/sebmck","html_url":"https://github.com/sebmck","followers_url":"https://api.github.com/users/sebmck/followers","following_url":"https://api.github.com/users/sebmck/following{/other_user}","gists_url":"https://api.github.com/users/sebmck/gists{/gist_id}","starred_url":"https://api.github.com/users/sebmck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebmck/subscriptions","organizations_url":"https://api.github.com/users/sebmck/orgs","repos_url":"https://api.github.com/users/sebmck/repos","events_url":"https://api.github.com/users/sebmck/events{/privacy}","received_events_url":"https://api.github.com/users/sebmck/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T06:14:50Z","updated_at":"2015-01-29T06:14:50Z","body":"Oh wait sorry, I misread, you're using `Promise` from the global scope and you've set it to `Bluebird`. I'm actually not sure if there's much that can be done about that unfortunately if you want to use the `selfContained` transformer."}}