docs: remove outdated command to run Angular CLI when using ng-dev misc build-and-link (#50512)

Setting `BAZEL_TARGET="1"` is no longer needed as NGCC has been removed.

PR Close #50512
This commit is contained in:
Alan Agius
2023-05-30 10:24:57 +00:00
committed by Dylan Hunn
parent 6f5dabe0d2
commit f414e26521
+3 -7
View File
@@ -110,13 +110,9 @@ When making changes to Angular packages and testing in a local library/project y
The Angular CLI needs to be invoked using Node.js [`--preserve-symlinks`](https://nodejs.org/api/cli.html#--preserve-symlinks) flag. Otherwise the symbolic links will be resolved using their real path which causes node module resolution to fail.
##### Windows
`set BAZEL_TARGET="1" && node --preserve-symlinks node_modules/@angular/cli/lib/init.js serve`
##### Unix Systems
`BAZEL_TARGET="1" node --preserve-symlinks node_modules/.bin/ng serve`
```sh
node --preserve-symlinks node_modules/@angular/cli/lib/init.js serve
```
## Formatting your source code