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

Method _getKey

packages/vite/src/node/build.ts:1227–1231  ·  view source on GitHub ↗
(chunk: RenderedChunk | OutputChunk | OutputAsset)

Source from the content-addressed store, hash-verified

1225 private _resetChunks = new Set<string>()
1226
1227 private _getKey(chunk: RenderedChunk | OutputChunk | OutputAsset): string {
1228 return 'preliminaryFileName' in chunk
1229 ? chunk.preliminaryFileName
1230 : chunk.fileName
1231 }
1232
1233 private _getDefaultValue(
1234 chunk: RenderedChunk | OutputChunk | OutputAsset,

Callers 2

getMethod · 0.95
resetMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected