pinafore/src/routes/_utils/asyncPolyfills.js

20 lines
735 B
JavaScript
Raw Normal View History

export const importIntersectionObserver = () => import(
/* webpackChunkName: '$polyfill$-intersection-observer' */ 'intersection-observer'
)
export const importRequestIdleCallback = () => import(
/* webpackChunkName: '$polyfill$-requestidlecallback' */ 'requestidlecallback'
)
export const importWebAnimationPolyfill = () => import(
/* webpackChunkName: '$polyfill$-web-animations-js' */ 'web-animations-js'
)
export const importIndexedDBGetAllShim = () => import(
/* webpackChunkName: '$polyfill$-indexeddb-getall-shim' */ 'indexeddb-getall-shim'
)
export const importCustomElementsPolyfill = () => import(
/* webpackChunkName: '$polyfill$-@webcomponents/custom-elements' */ '@webcomponents/custom-elements'
)