angular-cli
angular-cli copied to clipboard
perf(@angular-devkit/build-angular): initialize Angular shims for first rebuild in esbuild builder
When in watch mode with the experimental esbuild-based browser builder, the Angular compiler's internal type checking shims are now initialized earlier in the initial build. This allows the TypeScript builder program to become aware of the existence of these files during the initial build instead of during the first rebuild. As a result, the TypeScript builder program will no longer assume all the shim files and associated project files have been affected and required to be emitted and type checked again. This change causes the first rebuild to be similar in performance to subsequent rebuilds.