mirror of
https://github.com/angular/angular.git
synced 2026-11-30 02:18:49 -05:00
Source-maps can be linked to from a source-file by a comment at the end of the file. Previously the `SourceFileLoader` would read the first comment that matched `//# sourceMappingURL=` but this is not valid since some bundlers may include embedded source-files that contain such a comment. Now we only look for this comment in the last non-empty line in the file. PR Close #32912