From f414e26521e5235f12d82fe6c2ae665ed0645f04 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Tue, 30 May 2023 10:24:57 +0000 Subject: [PATCH] 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 --- docs/DEVELOPER.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/docs/DEVELOPER.md b/docs/DEVELOPER.md index a7cc7dd1bc8..486c31114c6 100644 --- a/docs/DEVELOPER.md +++ b/docs/DEVELOPER.md @@ -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