Add polyfill for EventTarget constructor (#4874)

This commit is contained in:
WithoutPants
2024-05-24 08:06:41 +10:00
committed by GitHub
parent 28b5fbfd4d
commit c314515b8f
3 changed files with 9 additions and 0 deletions

View File

@@ -5,6 +5,9 @@ import { shouldPolyfill as shouldPolyfillNumberformat } from "@formatjs/intl-num
import { shouldPolyfill as shouldPolyfillPluralRules } from "@formatjs/intl-pluralrules/should-polyfill";
import "intersection-observer";
// needed for older safari versions
import "event-target-polyfill";
// Required for browsers older than August 2020ish. Can be removed at some point.
replaceAll.shim();