MCPcopy
hub / github.com/vitejs/vite / readManifest

Function readManifest

playground/test-utils.ts:255–262  ·  view source on GitHub ↗
(base = '')

Source from the content-addressed store, hash-verified

253}
254
255export function readManifest(base = ''): Manifest {
256 return JSON.parse(
257 fs.readFileSync(
258 path.join(testDir, 'dist', base, '.vite/manifest.json'),
259 'utf-8',
260 ),
261 )
262}
263
264export function readDepOptimizationMetadata(
265 environmentName = 'client',

Calls 1

parseMethod · 0.80

Tested by

no test coverage detected