Skip to content

Conversation

@AlessioGr
Copy link
Member

@AlessioGr AlessioGr commented Dec 8, 2025

Fixes #14786

In the latest Next.js 16 canaries, the Next.js team introduced support for externalizing transitive dependencies, which unlocks compatibility with Turbopack Build.

This PR updates our withPayload.js wrapper to take advantage of that capability. It adds a version check that automatically enables Turbopack Build support when the project is using Next.js ≥ 16.1.0-canary.15.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 8, 2025

📦 esbuild Bundle Analysis for payload

This analysis was generated by esbuild-bundle-analyzer. 🤖
This PR introduced no changes to the esbuild bundle! 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error: Payload does not support using Turbopack for production builds (Version 3.64.0 -> 3.65.0)

2 participants