2017-03-13 17:48:32 -04:00
|
|
|
// Browser polyfills
|
2020-03-04 04:08:20 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Polyfill: fetch
|
|
|
|
* @what https://fetch.spec.whatwg.org/
|
|
|
|
* @why Because Apollo GraphQL client relies on fetch
|
|
|
|
* @browsers Internet Explorer 11
|
|
|
|
* @see https://caniuse.com/#feat=fetch
|
|
|
|
*/
|
|
|
|
import 'unfetch/polyfill/index';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Polyfill: FormData APIs
|
|
|
|
* @what delete(), get(), getAll(), has(), set(), entries(), keys(), values(),
|
|
|
|
* and support for for...of
|
|
|
|
* @why Because Apollo GraphQL client relies on fetch
|
|
|
|
* @browsers Internet Explorer 11, Edge < 18
|
|
|
|
* @see https://caniuse.com/#feat=mdn-api_formdata and subfeatures
|
|
|
|
*/
|
2018-07-20 08:08:23 -04:00
|
|
|
import 'formdata-polyfill';
|
2020-03-04 04:08:20 -05:00
|
|
|
|
2017-03-13 17:48:32 -04:00
|
|
|
import './polyfills/custom_event';
|
|
|
|
import './polyfills/element';
|
2017-09-11 10:34:16 -04:00
|
|
|
import './polyfills/event';
|
2017-08-25 20:42:33 -04:00
|
|
|
import './polyfills/nodelist';
|
2018-08-07 22:50:01 -04:00
|
|
|
import './polyfills/request_idle_callback';
|
2018-06-09 00:25:15 -04:00
|
|
|
import './polyfills/svg';
|