build(docs-infra): ivy prebuild script should not run ngcc for all formats (#29117)
build(docs-infra): ivy prebuild script should not run ngcc for all formats (#29117)

Currently when building AIO with Ivy, we run Ngcc and transform
all found formats. This potentially slows down the build (and
therefore the "test_aio_local_ivy" job). Since it's not necessary
to build all formats, and we only need "fesm5" and "fesm2015",
we can explicitly specify the required formats.

**Note**: Currently this does not have any big effect, because Angular
Material does not ship ES2015/ES5 files. The change primarily just
suppresses the Ngcc messages for Material not providing ES2015/ES5
entry-points.

Technically if new non-Ivy packages are added to AIO, this
speeds up the build as we don't build the unused formats.

PR Close #29117

manekinekko/angular,mgechev/angular,StephenFluin/angular,mgechev/angular,juristr/angular,mhevery/angular,mprobst/angular,shairez/angular,mprobst/angular,manekinekko/angular,alxhub/angular,Brocco/angular,mprobst/angular,Toxicable/angular,mgechev/angular,ocombe/angular,filipesilva/angular,alxhub/angular,gdi2290/angular,ocombe/angular,sarunint/angular,ocombe/angular,mlaval/angular,gdi2290/angular,shairez/angular,snaptech/angular,alexeagle/angular,shairez/angular,shairez/angular,mhevery/angular,matsko/angular,matsko/angular,gkalpak/angular,hansl/angular,mhevery/angular,juristr/angular,IgorMinar/angular,petebacondarwin/angular,matsko/angular,angular/angular,sarunint/angular,angular-indonesia/angular,JiaLiPassion/angular,brandonroberts/angular,alexeagle/angular,StephenFluin/angular,JiaLiPassion/angular,IgorMinar/angular,brandonroberts/angular,vikerman/angular,vikerman/angular,alexeagle/angular,Brocco/angular,vikerman/angular,petebacondarwin/angular,wKoza/angular,ocombe/angular,manekinekko/angular,sarunint/angular,filipesilva/angular,petebacondarwin/angular,matsko/angular,Toxicable/angular,IdeaBlade/angular,IdeaBlade/angular,juristr/angular,IdeaBlade/angular,alexeagle/angular,petebacondarwin/angular,wKoza/angular,mlaval/angular,gnomeontherun/angular,sarunint/angular,alexeagle/angular,jasonaden/angular,juristr/angular,angular/angular,jasonaden/angular,gkalpak/angular,wKoza/angular,snaptech/angular,StephenFluin/angular,angular-indonesia/angular,filipesilva/angular,blesh/angular,brandonroberts/angular,angular/angular,alxhub/angular,Toxicable/angular,IdeaBlade/angular,JiaLiPassion/angular,IgorMinar/angular,blesh/angular,snaptech/angular,petebacondarwin/angular,snaptech/angular,angular/angular,mprobst/angular,Toxicable/angular,jasonaden/angular,JiaLiPassion/angular,hansl/angular,snaptech/angular,hansl/angular,mhevery/angular,alxhub/angular,blesh/angular,manekinekko/angular,brandonroberts/angular,IgorMinar/angular,Brocco/angular,blesh/angular,mgechev/angular,angular-indonesia/angular,IgorMinar/angular,IdeaBlade/angular,jasonaden/angular,filipesilva/angular,Brocco/angular,gdi2290/angular,hansl/angular,sarunint/angular,Brocco/angular,sarunint/angular,alxhub/angular,ocombe/angular,mhevery/angular,gkalpak/angular,brandonroberts/angular,gkalpak/angular,hansl/angular,jasonaden/angular,snaptech/angular,manekinekko/angular,wKoza/angular,Toxicable/angular,Toxicable/angular,wKoza/angular,hansl/angular,shairez/angular,IgorMinar/angular,Brocco/angular,juristr/angular,gdi2290/angular,gdi2290/angular,gdi2290/angular,gnomeontherun/angular,vikerman/angular,manekinekko/angular,blesh/angular,alexeagle/angular,mlaval/angular,vikerman/angular,matsko/angular,filipesilva/angular,StephenFluin/angular,mlaval/angular,wKoza/angular,gnomeontherun/angular,brandonroberts/angular,mprobst/angular,mprobst/angular,mhevery/angular,jasonaden/angular,petebacondarwin/angular,vikerman/angular,angular-indonesia/angular,gnomeontherun/angular,mlaval/angular,juristr/angular,ocombe/angular,mgechev/angular,StephenFluin/angular