-
Notifications
You must be signed in to change notification settings - Fork 12k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(@angular/cli): add infrastructure support for schematics bui…
…lt-in modules Infrastructure has been added to the schematics runtime within the `@angular/cli` package to allow schematics executed via the Angular CLI to have access upcoming built-in modules. These built-in modules will be imported/required using the `schematics:` scheme similar to the Node.js `node:` scheme available for Node.js built-in modules. No built-in modules exist yet but will be added in the future. Schematics must be executed via the Angular CLI Schematics runtime's custom VM context to use the upcoming built-in modules. All first-party Angular schematics have been executed in this manner for several major versions. Third-party schematics can now opt-in to the behavior by enabling the `encapsulation` option within a schematic collection JSON file.
- Loading branch information
Showing
1 changed file
with
39 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters