Created
June 6, 2016 22:36
-
-
Save fl0w/e5adb1a2d16ae53a62e07ccf83cb8ac2 to your computer and use it in GitHub Desktop.
global Promise monkey patch reminder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// for vanilla js | |
global.Promise = require('bluebird') | |
// for babel js | |
// put in your bootstrap | |
require('babel-runtime/core-js/promise').default = require('bluebird'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment