MCPcopy
hub / github.com/rollup/rollup / getPredefinedChunkNameFromModule

Function getPredefinedChunkNameFromModule

src/Chunk.ts:1605–1609  ·  view source on GitHub ↗
(module: Module)

Source from the content-addressed store, hash-verified

1603}
1604
1605function getPredefinedChunkNameFromModule(module: Module): string {
1606 return (
1607 module.chunkNames.find(({ isUserDefined }) => isUserDefined)?.name ?? module.chunkNames[0]?.name
1608 );
1609}
1610
1611function getImportedBindingsPerDependency(
1612 renderedDependencies: RenderedDependencies,

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…