docs: add link to publish a library in ivy guide (#34986)

PR Close #34986
This commit is contained in:
Alan Agius 2020-01-27 09:23:16 +01:00 committed by Andrew Kushnir
parent c485c8a8c0
commit 36ff0dba1c
2 changed files with 4 additions and 2 deletions

View File

@ -284,7 +284,7 @@ For more information see [Workspace Configuration](guide/workspace-config).
Lets 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.

View File

@ -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