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

Function getImagesManifest

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

Source from the content-addressed store, hash-verified

1286}
1287
1288export function getImagesManifest(dir: string) {
1289 return readJson(path.join(dir, getDistDir(), 'images-manifest.json'))
1290}
1291
1292export function getPageFilesFromBuildManifest(dir: string, page: string) {
1293 const buildManifest = getBuildManifest(dir)

Callers 5

runTestsFunction · 0.90
runTestsFunction · 0.90
runTestsFunction · 0.90
runTestsFunction · 0.90
runTestsFunction · 0.90

Calls 3

getDistDirFunction · 0.85
readJsonFunction · 0.70
joinMethod · 0.45

Tested by 5

runTestsFunction · 0.72
runTestsFunction · 0.72
runTestsFunction · 0.72
runTestsFunction · 0.72
runTestsFunction · 0.72