demarches-normaliennes/app/javascript/shared/polyfills.js
2019-05-14 10:55:16 +02:00

11 lines
384 B
JavaScript

// 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.
import '@babel/polyfill';
import 'dom4';
import './polyfills/insertAdjacentElement';
import './polyfills/dataset';
if (typeof window.IntersectionObserver === 'undefined') {
import('intersection-observer');
}