mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
34f083c8ed
Previously `\r\n` was being treated as a single character in source-map line start positions, which caused segment positions to become offset. Now the `\r` is ignored when splitting, leaving it at the end of the previous line, which solves the offsetting problem, and does not affect source-mappings. Fixes #40169 Fixes #39654 PR Close #40187