Issues (2)

config/polyfills.js (1 issue)

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
You are extending the built-in type Object. This may have unintended consequences on other objects using this built-in type. Consider subclassing instead.
Loading history...
9
10
if (process.env.NODE_ENV === 'test') {
11
  require('raf').polyfill(global);
12
}
13