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

Function getManifestKeys

packages/vite/src/node/__tests__/build.spec.ts:1134–1141  ·  view source on GitHub ↗
(output: RolldownOutput)

Source from the content-addressed store, hash-verified

1132 })
1133
1134 function getManifestKeys(output: RolldownOutput) {
1135 return Object.keys(
1136 JSON.parse(
1137 (output.output.find((o) => o.fileName === '.vite/manifest.json') as any)
1138 .source,
1139 ),
1140 )
1141 }
1142
1143 const result = await builder.build(builder.environments.client)
1144 expect(getManifestKeys(result as RolldownOutput)).toMatchInlineSnapshot(`

Callers 1

build.spec.tsFile · 0.85

Calls 1

parseMethod · 0.80

Tested by

no test coverage detected