mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
+3
-7
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user