Visitar URL original
feat(ngcc): support passing a list of entry-points to process by petebacondarwin · Pull Request #37707 · angular/angular · GitHub
The Wayback Machine - https://web.archive.org/web/20200628002145/https://github.com/angular/angular/pull/37707
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ngcc): support passing a list of entry-points to process #37707

Draft
wants to merge 3 commits into
base: master
from

Conversation

@petebacondarwin
Copy link
Member

petebacondarwin commented Jun 24, 2020

Similar to the targeted entry-point mode, where we can pass in a
single entry-point path as the starting point for processing, this
commit adds support for passing in a list of such target entry-points.
This is achieved by pointing ngcc at a JSON file that holds the list
of paths to the entry-points. These entry-points, and their dependencies,
will then be processed by ngcc.

The path to the file containing the entry-point paths is configured
programmatically by setting the entryPointListPath property or via
the command line by the --entry-points-file option.

@ngbot ngbot bot added this to the needsTriage milestone Jun 24, 2020
@googlebot googlebot added the cla: yes label Jun 24, 2020
@ngbot ngbot bot modified the milestone: needsTriage Jun 24, 2020
@petebacondarwin petebacondarwin force-pushed the petebacondarwin:ngcc-preparsed-entry-point-finder branch 5 times, most recently from a5b968e to d993600 Jun 26, 2020
The convention in ngcc is to use relative paths rather than `@angular/...`
path-mapped paths. This commit changes those.
Similar to the targeted entry-point mode, where we can pass in a
single entry-point path as the starting point for processing, this
commit adds support for passing in a list of such target entry-points.
This is achieved by pointing ngcc at a JSON file that holds the list
of paths to the entry-points. These entry-points, and their dependencies,
will then be processed by ngcc.

The path to the file containing the entry-point paths is configured
programmatically by setting the `entryPointListPath` property or via
the command line by the `--entry-points-file` option.
This commit changes the simple `TracingEntryPointFinder` hierarchy
so that the two relevant parts (`InitialEntryPoints` and
`EntryPointsWithDeps`) are now composable.
This allows implementation  of a more flexible combination of
`EntryPointFinder` strategies.
@petebacondarwin petebacondarwin force-pushed the petebacondarwin:ngcc-preparsed-entry-point-finder branch from d993600 to 5aafca2 Jun 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.