Answer the question
In order to leave comments, you need to log in
How do some sites (like GitHub) include *.scss files directly?
Hello!
I noticed that some sites connect *.scss files directly to the site:
How do they do it?
Answer the question
In order to leave comments, you need to log in
To facilitate debugging and troubleshooting, browsers support "maps" that allow you to get the line number in the source file from the line in the compiled / minified file.
You can read about it, for example, here: blog.teamtreehouse.com/introduction-source-maps
This is just a .css map, no one directly connects .scss, you can open the source code of the same github, from the styles there are only 2 .css files, at the end of which you can find a link to the maps themselves prntscr.com/jng5n3
This is either assembled on their host, or this is a map of the source file
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question