Skip to content

Commit cf2336b

Browse files
committed
docs: revert remove of build-and-link
This works again since angular/dev-infra#2922 landed
1 parent 5129dae commit cf2336b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

contributing-docs/building-and-testing-angular.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,18 @@ PRs can only be merged if the code is formatted properly and all tests are passi
101101
<a name="clang-format"></a>
102102
<a name="prettier"></a>
103103

104+
### Testing changes against a local library/project
105+
106+
Often for developers the best way to ensure the changes they have made work as expected is to run
107+
use changes in another library or project. To do this developers can build Angular locally, and
108+
using `pnpm link` build a local project with the created artifacts.
109+
110+
This can be done by running:
111+
112+
```sh
113+
pnpm ng-dev misc build-and-link <path-to-local-project-root>
114+
```
115+
104116
### Building and serving a project
105117

106118
#### Cache

0 commit comments

Comments
 (0)