Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(@angular-devkit/build-angular): avoid extra babel file reads in …
…esbuild builder rebuilds To further improve incremental rebuild performance of the experimental esbuild-based browser application builder, the output of JS file babel transformations are now cached in memory by the input file name and invalidated via the file watching events. This allows an additional file read per JS input file to be avoided if the file has not changed. Previously the content of the JS input file was used as the basis of the cache key for the transformation output which necessitated reading the file. With the file change information available, the content based method is no longer necessary.
- Loading branch information
Showing
1 changed file
with
27 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters