-
Notifications
You must be signed in to change notification settings - Fork 26.1k
fix(platform-browser): prepend baseHref
to sourceMappingURL
in CSS content
#59730
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
dc9426b
to
e9d4ffa
Compare
221552d
to
5b7c512
Compare
…S content Implemented functionality to prepend the baseHref to `sourceMappingURL` in CSS content. Added handling to ensure external sourcemaps are loaded relative to the baseHref. Corrected sourcemap URL behavior when accessing pages with multi-segment URLs (e.g., `/foo/bar`). Ensured that when the baseHref is set to `/`, maps are requested from the correct path (e.g., `http://localhost/comp.css.map` instead of `http://localhost/foo/bar/comp.css.map`). Closes angular#59729
5b7c512
to
2e90ced
Compare
3bb968f
to
2e90ced
Compare
…` in CSS content
94b920c
to
1600d37
Compare
…` in CSS content
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR was merged into the repository by commit 6b09716. The changes were merged into the following branches: main, 19.1.x |
…S content (#59730) Implemented functionality to prepend the baseHref to `sourceMappingURL` in CSS content. Added handling to ensure external sourcemaps are loaded relative to the baseHref. Corrected sourcemap URL behavior when accessing pages with multi-segment URLs (e.g., `/foo/bar`). Ensured that when the baseHref is set to `/`, maps are requested from the correct path (e.g., `http://localhost/comp.css.map` instead of `http://localhost/foo/bar/comp.css.map`). Closes #59729 PR Close #59730
…S content (angular#59730) Implemented functionality to prepend the baseHref to `sourceMappingURL` in CSS content. Added handling to ensure external sourcemaps are loaded relative to the baseHref. Corrected sourcemap URL behavior when accessing pages with multi-segment URLs (e.g., `/foo/bar`). Ensured that when the baseHref is set to `/`, maps are requested from the correct path (e.g., `http://localhost/comp.css.map` instead of `http://localhost/foo/bar/comp.css.map`). Closes angular#59729 PR Close angular#59730
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Implemented functionality to prepend the baseHref to
sourceMappingURL
in CSS content. Added handling to ensure external sourcemaps are loaded relative to the baseHref. Corrected sourcemap URL behavior when accessing pages with multi-segment URLs (e.g.,/foo/bar
). Ensured that when the baseHref is set to/
, maps are requested from the correct path (e.g.,http://localhost/comp.css.map
instead ofhttp://localhost/foo/bar/comp.css.map
).Closes #59729
//cc @clydin