Closed amannn closed 2 weeks ago
The latest updates on your projects. Learn more about Vercel for Git βοΈ
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
next-intl-docs | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Oct 29, 2024 9:05am |
next-intl-example-app-router | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Oct 29, 2024 9:05am |
next-intl-example-app-router-without-i18n-routing | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Oct 29, 2024 9:05am |
With these optimizations,
next-intl
is now ~7% smaller and provides full support for tree shaking.Features
next-intl
as well as its base libraryuse-intl
are now ESM-only. The only exception isnext-intl/plugin
which is provided both as ESM as well as CommonJS due tonext.config.js
still being popular.defaults
query, which is a shortcut for> 0.5%, last 2 versions, Firefox ESR, not dead
. Thedefaults
query was thoroughly designed by the Browserslist community and is considered a reasonable default for modern apps.Breaking changes
next/jest
).transpilePackages
in combination with abrowserslist
config in Next.js to compilenext-intl
for older browsers.