Command
ng new
Description
Right now ng new creates angular.json with @angular-devkit/build-angular:application in the builder field, even if SSR was not selected (or --ssr=false was applied).
It should set @angular-devkit/build-angular:browser-esbuild there and generate fields, related to this builder (right now it creates field browser).
Otherwise, the default config will lead to issues, described in #26304.
Minimal Reproduction
ng new example --ssr=false
Command
ng newDescription
Right now
ng newcreatesangular.jsonwith@angular-devkit/build-angular:applicationin thebuilderfield, even if SSR was not selected (or --ssr=false was applied).It should set
@angular-devkit/build-angular:browser-esbuildthere and generate fields, related to this builder (right now it creates fieldbrowser).Otherwise, the default config will lead to issues, described in #26304.
Minimal Reproduction
ng new example --ssr=false