Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.
feat: support turbopack build on Next.js canaries (#14845)
Fixes https://github.com/payloadcms/payload/issues/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.3`.
A
Alessio Gravili committed
5ad4ebd4c32f892e0e13ce0bb70f60b4e1024a56
Parent: d50b60e
Committed by GitHub <noreply@github.com>
on 12/9/2025, 6:59:20 PM