Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimmy King committed Jun 1, 2015
2 parents 87bba0f + 81e698c commit 2a3b37d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
## History
- v2.7.2
- Fixed typo in source maps (#32)

- v2.7.0
- Updated node-sass to v3.0.0 (#31, thanks @mbarlock)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docpad-plugin-nodesass",
"version": "2.7.0",
"version": "2.7.1",
"description": "Adds support for the Sass CSS pre-processor to DocPad using node-sass",
"homepage": "https://github.com/jking90/docpad-plugin-nodesass",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/sass.plugin.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ module.exports = (BasePlugin) ->
css = result.css

if result.map and result.map.sources
console.log result.map
map = result.map
map.sourcesContent = getSourcesContent(map.sources)
sourceMap = new Buffer(JSON.stringify(map)).toString('base64')
css = css.replace(/\/\*# sourceMappingURL=.*\*\//, '/*# sourceMappingURL=data:application/json;base64,' + sourceMap + '*/')
Expand Down

0 comments on commit 2a3b37d

Please sign in to comment.