mirror of
https://github.com/agersant/polaris
synced 2024-12-03 18:19:09 +00:00
Loading fetch polyfill into global
This commit is contained in:
parent
2091286953
commit
53edb24a63
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
module.exports = {
|
||||
before : function(cb) {
|
||||
console.log("Requiring fetch polyfill");
|
||||
require('whatwg-fetch');
|
||||
fetch = require('whatwg-fetch').fetch;
|
||||
cb();
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue