I'm running grunt-bless on my CSS after it has been run through grunt-contrib-compass.
grunt-bless is a wrapper for bless.js, while grunt-contrib-compass is a wrapper for Compass.
When grunt-contrib-compass is run with the latest version of Compass (1.0.0.alpha.19), with:
"options": {
"sourcemap": true
}
.. a sourcemap is generated for each CSS file that is generated:
print.css
print.css.map
screen.css
screen.css.map
The .map file can be read by browsers like Google Chrome, to trace styles back to the original Sass file.
This works fine - up until the point when grunt-bless is run on the Compass output. Now we have:
print.css
print.css.map
screen.css
screen.css.map
screen.blessed.css
There are three problems here:
screen.blessed.css.map should be generated
screen.blessed.css.map should contain the pointer "file": "screen.blessed.css" (rather that "file": "screen.css")
screen.blessed.css should contain the pointer /*# sourceMappingURL=screen.blessed.css.map */
Thanks!
I'm running
grunt-blesson my CSS after it has been run throughgrunt-contrib-compass.grunt-blessis a wrapper for bless.js, whilegrunt-contrib-compassis a wrapper for Compass.When
grunt-contrib-compassis run with the latest version of Compass (1.0.0.alpha.19), with:.. a sourcemap is generated for each CSS file that is generated:
The
.mapfile can be read by browsers like Google Chrome, to trace styles back to the original Sass file.This works fine - up until the point when
grunt-blessis run on the Compass output. Now we have:There are three problems here:
screen.blessed.css.mapshould be generatedscreen.blessed.css.mapshould contain the pointer"file": "screen.blessed.css"(rather that"file": "screen.css")screen.blessed.cssshould contain the pointer/*# sourceMappingURL=screen.blessed.css.map */Thanks!