MCPcopy
hub / github.com/vercel/next.js / getPagesManifest

Function getPagesManifest

test/lib/next-test-utils.ts:1333–1337  ·  view source on GitHub ↗
(dir: string)

Source from the content-addressed store, hash-verified

1331}
1332
1333export function getPagesManifest(dir: string) {
1334 const serverFile = path.join(dir, getDistDir(), 'server/pages-manifest.json')
1335
1336 return readJson(serverFile)
1337}
1338
1339export function updatePagesManifest(dir: string, content: any) {
1340 const serverFile = path.join(dir, getDistDir(), 'server/pages-manifest.json')

Callers 2

index.test.tsFile · 0.90

Calls 3

getDistDirFunction · 0.85
readJsonFunction · 0.70
joinMethod · 0.45

Tested by

no test coverage detected