Files
JJ KasperandGitHub 6d05b8373b Experimental deferred entries handling (#88347)
This is just an exploration into a deferred entries hook in
`next.config` to allow waiting to build specific entries until all other
entries have processed allowing external discovery of assets from
compilation that can be used in building these deferred entries.

x-ref: [slack
thread](https://vercel.slack.com/archives/C09125LC4AX/p1767991281352189?thread_ts=1766951034.768869&cid=C09125LC4AX)
2026-02-03 18:27:17 +00:00

13 lines
253 B
TypeScript

import type { NextApiRequest, NextApiResponse } from 'next'
type Data = {
message: string
}
export default function handler(
req: NextApiRequest,
res: NextApiResponse<Data>
) {
res.status(200).json({ message: 'Hello from pages API route' })
}