MCPcopy
hub / github.com/rollup/rollup / getAbsoluteEntryModulePaths

Function getAbsoluteEntryModulePaths

src/Bundle.ts:329–340  ·  view source on GitHub ↗
(
	includedModules: readonly Module[],
	preserveModules: boolean
)

Source from the content-addressed store, hash-verified

327}
328
329function getAbsoluteEntryModulePaths(
330 includedModules: readonly Module[],
331 preserveModules: boolean
332): string[] {
333 const absoluteEntryModulePaths: string[] = [];
334 for (const module of includedModules) {
335 if ((module.info.isEntry || preserveModules) && isAbsolute(module.id)) {
336 absoluteEntryModulePaths.push(module.id);
337 }
338 }
339 return absoluteEntryModulePaths;
340}
341
342function getExternalChunkByModule(
343 modulesById: ReadonlyMap<string, Module | ExternalModule>,

Callers 1

generateChunksMethod · 0.85

Calls 2

isAbsoluteFunction · 0.90
pushMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…