docs: add link to publish a library in ivy guide (#34986)
PR Close #34986
This commit is contained in:
parent
c485c8a8c0
commit
36ff0dba1c
|
@ -284,7 +284,7 @@ For more information see [Workspace Configuration](guide/workspace-config).
|
|||
|
||||
Let’s create a simple `angular.json` file that puts target configurations into context.
|
||||
|
||||
We can publish the builder to npm (see [Publishing your Library](https://angular.io/guide/creating-libraries#publishing-your-library)), and install it using the following command:
|
||||
We can publish the builder to npm (see [Publishing your Library](guide/creating-libraries#publishing-your-library)), and install it using the following command:
|
||||
|
||||
<code-example language="sh">
|
||||
|
||||
|
@ -340,7 +340,7 @@ We need to update the `angular.json` file to add a target for this builder to th
|
|||
|
||||
* We'll add a new target section to the "architect" object for our project.
|
||||
|
||||
* The target named "touch" uses our builder, which we published to `@example/command-runner`. (See [Publishing your Library](https://angular.io/guide/creating-libraries#publishing-your-library))
|
||||
* The target named "touch" uses our builder, which we published to `@example/command-runner`. (See [Publishing your Library](guide/creating-libraries#publishing-your-library))
|
||||
|
||||
* The options object provides default values for the two inputs that we defined; `command`, which is the Unix command to execute, and `args`, an array that contains the file to operate on.
|
||||
|
||||
|
|
|
@ -41,6 +41,8 @@ Ivy applications can be built with libraries that were created with the View Eng
|
|||
This compatibility is provided by a tool known as the Angular compatibility compiler (`ngcc`).
|
||||
CLI commands run `ngcc` as needed when performing an Angular build.
|
||||
|
||||
For more information on how to publish libraries see [Publishing your Library](guide/creating-libraries#publishing-your-library).
|
||||
|
||||
{@a speeding-up-ngcc-compilation}
|
||||
### Speeding up ngcc compilation
|
||||
|
||||
|
|
Loading…
Reference in New Issue