wikijs-fork/client/helpers/compatibility.js
2018-09-04 00:46:24 -04:00

11 lines
234 B
JavaScript

require('@babel/polyfill')
// =======================================
// Fetch polyfill
// =======================================
// Requirement: Safari 9 and below, IE 11 and below
if (!window.fetch) {
require('whatwg-fetch')
}