1 | if (typeof Promise === 'undefined') { |
||
2 | require('promise/lib/rejection-tracking').enable(); |
||
3 | window.Promise = require('promise/lib/es6-extensions.js'); |
||
4 | } |
||
5 | |||
6 | require('whatwg-fetch'); |
||
7 | |||
8 | Object.assign = require('object-assign'); |
||
0 ignored issues
–
show
Compatibility
Best Practice
introduced
by
![]() |
|||
9 | |||
10 | if (process.env.NODE_ENV === 'test') { |
||
11 | require('raf').polyfill(global); |
||
12 | } |
||
13 |