refactor(ivy): ngcc - pass whole entry-point object to makeEntryPointBundle()
(#30591)
This simplifies the interface somewhat but also allows us to make use of other properties of the EntryPoint object in the future. PR Close #30591
This commit is contained in:

committed by
Kara Erickson

parent
2dfd97d8f0
commit
a94bdc6793
@ -154,8 +154,7 @@ export function mainNgcc(
|
||||
// the property as processed even if its underlying format has been built already.
|
||||
if (!compiledFormats.has(formatPath) && (compileAllFormats || isFirstFormat)) {
|
||||
const bundle = makeEntryPointBundle(
|
||||
fileSystem, entryPoint.path, formatPath, entryPoint.typings, isCore, property, format,
|
||||
processDts, pathMappings);
|
||||
fileSystem, entryPoint, formatPath, isCore, property, format, processDts, pathMappings);
|
||||
if (bundle) {
|
||||
logger.info(`Compiling ${entryPoint.name} : ${property} as ${format}`);
|
||||
const transformedFiles = transformer.transform(bundle);
|
||||
|
Reference in New Issue
Block a user