build: create macro for transpiling javascript file to es5 (#36802)
build: create macro for transpiling javascript file to es5 (#36802)

For testing on IE, shims must be served in es5.  Because the shims
served in these tests come from node_modules and are not part of
the angular/angular source code, they must be transpiled to es5 if
they are published as es6. This macro allows for a uniform method
for running this transpilation during the build process.

PR Close #36802

angular/angular,shairez/angular,filipesilva/angular,brandonroberts/angular,brandonroberts/angular,matsko/angular,JiaLiPassion/angular,ocombe/angular,wKoza/angular,blesh/angular,JiaLiPassion/angular,manekinekko/angular,angular-indonesia/angular,alxhub/angular,manekinekko/angular,manekinekko/angular,angular-indonesia/angular,wKoza/angular,mgechev/angular,shairez/angular,gdi2290/angular,wKoza/angular,matsko/angular,ocombe/angular,blesh/angular,IdeaBlade/angular,gnomeontherun/angular,IdeaBlade/angular,wKoza/angular,manekinekko/angular,angular-indonesia/angular,alxhub/angular,manekinekko/angular,shairez/angular,gnomeontherun/angular,brandonroberts/angular,gkalpak/angular,brandonroberts/angular,gnomeontherun/angular,angular/angular,ocombe/angular,angular-indonesia/angular,filipesilva/angular,mgechev/angular,gdi2290/angular,filipesilva/angular,mgechev/angular,ocombe/angular,IdeaBlade/angular,IdeaBlade/angular,brandonroberts/angular,gkalpak/angular,shairez/angular,gkalpak/angular,matsko/angular,alxhub/angular,wKoza/angular,blesh/angular,wKoza/angular,manekinekko/angular,angular/angular,gnomeontherun/angular,filipesilva/angular,blesh/angular,IdeaBlade/angular,mgechev/angular,shairez/angular,gkalpak/angular,gdi2290/angular,blesh/angular,gdi2290/angular,angular/angular,matsko/angular,alxhub/angular,matsko/angular,alxhub/angular,ocombe/angular,filipesilva/angular,gdi2290/angular,JiaLiPassion/angular,brandonroberts/angular,gdi2290/angular,ocombe/angular,JiaLiPassion/angular,mgechev/angular