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.
Reason: the Payload config depends on @payloadcms/next and so its peer dependencies. You may want to import the config outside of Next.js, like into a separate Astro website in a monorepo.
Link to reproduction
No response
Payload Version
3.0.0-beta.90
Node Version
20
Next.js Version
15rc
Describe the Bug
Example: Instead of https://github.com/payloadcms/payload/blob/4bbc593dc5936d0f53e036488680c968df20bc2c/packages/plugin-seo/src/index.tsx#L136 we should just do
Reason: the Payload config depends on
@payloadcms/next
and so its peer dependencies. You may want to import the config outside of Next.js, like into a separate Astro website in a monorepo.Reproduction Steps
.
Adapters and Plugins
plugin-stripe, plugin-seo