demarches-normaliennes/app/javascript/shared/polyfills.js

23 lines
692 B
JavaScript
Raw Normal View History

// Include runtime-polyfills for older browsers.
// Due to babel.config.js's 'useBuiltIns', only polyfills actually
// required by the browsers we support will be included.
2020-01-30 13:40:06 +01:00
import 'core-js/stable';
import 'regenerator-runtime/runtime';
import 'dom4';
2020-01-30 13:40:06 +01:00
import 'intersection-observer';
2022-02-02 17:16:50 +01:00
import 'whatwg-fetch';
2022-04-29 14:11:00 +02:00
import '@webcomponents/custom-elements';
import '@webcomponents/template';
import '@stimulus/polyfills';
2022-04-29 14:11:00 +02:00
import 'formdata-polyfill';
import 'event-target-polyfill';
import 'yet-another-abortcontroller-polyfill';
2020-01-30 13:40:06 +01:00
import './polyfills/insertAdjacentElement';
import './polyfills/dataset';
// IE 11 has no baseURI
if (document.baseURI == undefined) {
document.baseURI = document.URL;
}