gt-i18n@1.0.4
Patch Changes
-
#1856
b742df9Thanks @ErnestM1234! - Flatten the internal i18n cache structure: the locale-cache layer is inlined intoI18nCache, the in-flight promise dedupe shared by the caches is extracted into one helper, and the dev-only prefetch machinery is statically gated behindprocess.env.NODE_ENV !== 'production'so production bundles drop it. No public API changes;gt-i18n/internalandgt-i18n/internal/typesexports are unchanged. -
#1855
a148737Thanks @ErnestM1234! - Collapse the I18nCache constructor-time validation layer into a single helper. Observable behavior is unchanged: the same warnings are logged when a customruntimeUrlis configured without GT credentials, and providingloadDictionarywithout a sourcedictionarystill throws. The unreachable validation branches are removed, slightly shrinking browser bundles.