mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
f57cd19e0c
Previously we were calling `updateSourceLocations()` as part of `extractMessages()` for every file that was passed in, regardless of whether any `$localize` tagged strings were to be found in the file. This was very wasteful because it is non-trivial to compute the flattened source-map for files if it is not needed. PR Close #40891