Discovering Your Approach with Sass Sourcemaps – A Record Aside

Article Continues Under

The subsequent model of Sass just lately hit launch candidate standing, that means it’ll be out within the wild any day now. There are some nice adjustments coming in Sass 3.3, one in all which ought to have builders extraordinarily excited: sourcemaps.

Put plainly, sourcemaps are a strategy to map compiled code again to its native state. That will sound type of odd, however sourcemaps will make each Sass-loving developer’s life a little bit bit higher. Browsers that perceive the generated map file will know the place every line of code got here from, right down to the road quantity within the unique Sass file, quite than the road quantity from the compiled CSS file.

Even within the pre-release state, sourcemaps are proving to be an enormous productiveness increase for builders by reducing down debug time and making Sass code simpler to optimize and enhance. No want to attend for Sass 3.3 to be launched formally: set up the discharge candidate and take a look at it out in your personal tasks!

Leave a Comment