mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
This expands test suite for deferred entries experimental handling and fixes missing handling for metadata routes and route handlers when building the non-deferred entries.
11 lines
241 B
TypeScript
11 lines
241 B
TypeScript
import type { MetadataRoute } from 'next'
|
|
|
|
export default function sitemap(): MetadataRoute.Sitemap {
|
|
return [
|
|
{
|
|
url: 'https://example.com/deferred-entries',
|
|
lastModified: new Date('2024-01-01T00:00:00.000Z'),
|
|
},
|
|
]
|
|
}
|