Google Chrome Validation Error. Do not show CSS paths for local files

I have a very unexpected problem right now with my Google Chrome inspector. When I looked through my local HTML files, I noticed that I could not see from which css file from which my classes were. This is very strange, because he always showed it before. Here is a screenshot

enter image description here

But if I check the web form not with Local, it shows the files:

enter image description here

Why is he doing this? Does it due to recent updates to Google Chrome? How can I make it work for local files too? I need it badly.

thanks

+6
source share
3 answers

I just fixed this problem by referencing the source maps relative to the root of the workspace . See my answer here for more information.

+1
source

I had the same problems as you.
Try unchecking the Enable Source CSS Maps checkbox in the Sources group in the DevTools settings.
I suppose it is intended for SASS / LESS files, but for some reason it also affects regular CSS files.

0
source

This seems to be a mistake. See https://crbug.com/422073 to track the progress of this problem and comment there if you have additional information. I can not reproduce this problem yet.

0
source

Source: https://habr.com/ru/post/976495/


All Articles