mirror of
https://github.com/agersant/polaris
synced 2024-12-12 14:22:58 +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 = {
|
module.exports = {
|
||||||
before : function(cb) {
|
before : function(cb) {
|
||||||
console.log("Requiring fetch polyfill");
|
console.log("Requiring fetch polyfill");
|
||||||
require('whatwg-fetch');
|
fetch = require('whatwg-fetch').fetch;
|
||||||
cb();
|
cb();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue