Components sourcemap not resolved when using sub-paths #27613
Labels
angular/build:application
area: @angular/build
freq1: low
Only reported by a handful of users who observe it rarely
severity5: regression
type: bug/fix
Which @angular/* package(s) are the source of the bug?
compiler, router
Is this a regression?
No
Description
Source mapping for style files does not work
I have attached a project in which I reproduced this problem.
If you go along the path of the localhost:4200/first-level
then the source map for styles is correct,
but if you go to the localhost:4200/first-level/second-level,
the path to the file is not defined
Please provide a link to a minimal reproduction of the bug
https://github.com/Andriypodolian/scss-source-map
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in (run
ng version
)Anything else?
When you run with ssr "yarn start:prerender"
everything works correctly
The text was updated successfully, but these errors were encountered: