gt-next@11.0.4
Patch Changes
-
#1847
d8938b6Thanks @ErnestM1234! - AddwithGTStaticProps()for hydrating each statically generated Pages Router locale with its relevant translation snapshot. Pages Router locale routing is required so Next.js generates the page once per locale. -
#1848
1f33d5fThanks @bgub! - Remove unused dependencies:@generaltranslation/supported-localesfrom gt-react, gt-next, gt-i18n, and @generaltranslation/react-core, and@generaltranslation/formatfrom gt-react. Nothing in these packages imports them, so this only reduces install weight. -
#1851
604889bThanks @bgub! - Make@generaltranslation/compileran optional peer dependency instead of a hard dependency. It is only used by the experimentalexperimentalCompilerOptions.type: 'babel'webpack path, which already degrades gracefully with a warning when the package cannot be resolved. Users who enable the experimental babel compiler must now install@generaltranslation/compilerthemselves; everyone else saves ~8.5MB of install weight (the compiler plus its Babel toolchain). -
Updated dependencies [
006e071,7fb4a74,d23766c,1f33d5f]:- @generaltranslation/compiler@1.3.26
- gt-i18n@1.0.2
- gt-react@11.0.4
- @generaltranslation/react-core@11.0.4