-
Joel Jeremy Marquez authored
* ESLint no-default-imports part 1 * Release notes * Remove Notes.tsx default export * Fix Notes imports
Joel Jeremy Marquez authored* ESLint no-default-imports part 1 * Release notes * Remove Notes.tsx default export * Fix Notes imports
polyfills.ts 284 B
export async function installPolyfills(): Promise<void> {
if ('ResizeObserver' in window === false) {
const module = await import(
/* webpackChunkName: 'resize-observer-polyfill' */ '@juggle/resize-observer'
);
window.ResizeObserver = module.ResizeObserver;
}
}