Reputation: 3870
As the above image shows, while inspecting some elements, the Chrome Dev Tool shows it is related with a .scss file, when I click the file, it is empty. I test it with Safari on macOS, it also shows this scss file but when clicked, it correctly shows the content of this scss file. It seems the dev tool is somehow bugged here.
Anyway, my question is, on what condition would Chrome Dev Tools(and the like) shows scss file instead of compiled css file?
Upvotes: 5
Views: 3294
Reputation:
That is because a typography.css.map
file is present in the same directory as the typography.css
file. Chrome recognizes this map file and displays typography.scss
instead of typography.css
. This also works for mozilla too.
Upvotes: 3
Reputation: 442
You do not have to show the scss file please uncheck Enable CSS source maps checkbox
Upvotes: 15