UNPKG

351 BPlain TextView Raw
1
2const Bluebird = require('bluebird')
3Bluebird.config({
4 cancellation: true,
5 longStackTraces: true,
6 warnings: {
7 wForgottenReturn: false
8 },
9 monitoring: true
10})
11
12const g = global as any
13
14Promise = Bluebird
15g.Promise = Bluebird
16
17/**
18 * Replace es6-promise with bluebird
19 */
20require('babel-runtime/core-js/promise').default = require('bluebird')
21
22
23