Source Maps
• create a .json source map
• tells the browser where the code is in the Sass file
• a much better version of what debug could provide
Sass Summit 2014 : Cutting Edge Sass
Maps
• A way to store key/value pairs
• Comes with some functions, here’s a few
• map-get
• map-merge
• map-remove
Sass Summit 2014 : Cutting Edge Sass
selector-replace
• replaces the $original within a $selector, with
$replacement
Sass Summit 2014 : Cutting Edge Sass
selector-replace($selector, $original, $replacement)