refactor(ngcc): add packageName
property to EntryPoint
interface (#37040)
This commit adds a `packageName` property to the `EntryPoint` interface. In a subsequent commit this will be used to retrieve the correct ngcc configuration for each package, regardless of its path. PR Close #37040
This commit is contained in:

committed by
Misko Hevery

parent
829ddf95e5
commit
8f3695e20e
@ -22,6 +22,7 @@ export function makeTestEntryPoint(
|
||||
return {
|
||||
name: entryPointName,
|
||||
path: absoluteFrom(`/node_modules/${entryPointName}`),
|
||||
packageName,
|
||||
packagePath: absoluteFrom(`/node_modules/${packageName}`),
|
||||
packageJson: {name: entryPointName},
|
||||
typings: absoluteFrom(`/node_modules/${entryPointName}/index.d.ts`),
|
||||
|
Reference in New Issue
Block a user