2018-09-11 17:53:11 +02:00
|
|
|
// Include runtime-polyfills for older browsers.
|
2019-03-13 15:31:59 +01:00
|
|
|
// Due to babel.config.js's 'useBuiltIns', only polyfills actually
|
2018-09-11 17:53:11 +02:00
|
|
|
// required by the browsers we support will be included.
|
2018-11-08 15:43:06 +01:00
|
|
|
import '@babel/polyfill';
|
2018-09-11 17:53:11 +02:00
|
|
|
import 'dom4';
|
2019-04-04 17:40:33 +02:00
|
|
|
import './polyfills/insertAdjacentElement';
|
|
|
|
import './polyfills/dataset';
|
2019-04-24 13:17:05 +02:00
|
|
|
|
|
|
|
if (typeof window.IntersectionObserver === 'undefined') {
|
|
|
|
import('intersection-observer');
|
|
|
|
}
|