Skip to content
Source
Sign inSign up

intl-polyfills.ts

6 lines403 Bytes

1// GT validates every locale with Intl.Locale and English Intl.DisplayNames, which Hermes lacks.
2// gt-react-native's Babel plugin would inject these; plain imports keep the Metro and Babel config unchanged.
3import "@formatjs/intl-getcanonicallocales/polyfill";
4import "@formatjs/intl-locale/polyfill";
5import "@formatjs/intl-displaynames/polyfill";
6import "@formatjs/intl-displaynames/locale-data/en";