Skip to content

Conversation

amannn
Copy link
Owner

@amannn amannn commented Aug 21, 2025

When using createMessagesDeclaration, we previously created the declaration for all of these scenarios:

  1. next dev (incl. a watcher)
  2. next build
  3. next typegen (new in Next.js 15.5)
  4. next start
  5. next info
  6. next telemetry

(not for next lint though, because it doesn't consult next.config.js)

The last three items in this list don't really require creating a declaration, so as of this PR we no longer do this.

On the other hand, the newly introduced next typegen comes in really handy to continue creating the declaration.

Copy link

vercel bot commented Aug 21, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
next-intl-docs Ready Ready Preview Comment Aug 21, 2025 9:21am
next-intl-example-app-router Ready Ready Preview Comment Aug 21, 2025 9:21am
next-intl-example-app-router-without-i18n-routing Ready Ready Preview Comment Aug 21, 2025 9:21am

@amannn amannn merged commit fd0722a into main Aug 21, 2025
6 checks passed
amannn added a commit that referenced this pull request Sep 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant