refactor(bazel): use `readConfiguration` to read config file (#40694)
refactor(bazel): use `readConfiguration` to read config file (#40694)

With this change we clean up the parsing of tsconfig files.

PR Close #40694

alxhub/angular,manekinekko/angular,JiaLiPassion/angular,manekinekko/angular,gkalpak/angular,angular/angular,gnomeontherun/angular,mgechev/angular,shairez/angular,angular/angular,JiaLiPassion/angular,JiaLiPassion/angular,ocombe/angular,brandonroberts/angular,manekinekko/angular,alxhub/angular,brandonroberts/angular,angular-indonesia/angular,manekinekko/angular,gnomeontherun/angular,gkalpak/angular,angular/angular,brandonroberts/angular,JiaLiPassion/angular,alxhub/angular,ocombe/angular,mgechev/angular,angular-indonesia/angular,manekinekko/angular,brandonroberts/angular,gkalpak/angular,mgechev/angular,ocombe/angular,brandonroberts/angular,gnomeontherun/angular,ocombe/angular,gnomeontherun/angular,shairez/angular,angular/angular,shairez/angular,brandonroberts/angular,mgechev/angular,manekinekko/angular,angular-indonesia/angular,alxhub/angular,alxhub/angular,ocombe/angular,shairez/angular,mgechev/angular,ocombe/angular,angular-indonesia/angular,shairez/angular,gkalpak/angular