March 1, 2019 09:50 pm GMT
Original Link: https://css-tricks.com/should-i-use-source-maps-in-production/
Should I Use Source Maps in Production?
It's a valid question. A "source map" is a special file that connects a minified/uglified version of an asset (CSS or JavaScript) to the original authored version. Say you've got a filed called _header.scss
that gets imported into global.scss
which is compiled to global.css
. That final CSS file is what gets loaded in the browser, so for example, when you inspect an element in DevTools, it might tell you that the <nav>
is display: flex;
because it says so … Read article
The post Should I Use Source Maps in Production? appeared first on CSS-Tricks.
Original Link: https://css-tricks.com/should-i-use-source-maps-in-production/
Share this article:
Tweet
View Full Article