Skip to content

Commit

Permalink
add access to content to dedup server generated styles (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
hishayness authored and koistya committed Sep 23, 2016
1 parent f97ac75 commit 3d3bc70
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Expand Up @@ -26,6 +26,7 @@ module.exports.pitch = function pitch(remainingRequest) {
}
module.exports = content.locals || {};
module.exports._getContent = function() { return content; };
module.exports._getCss = function() { return content.toString(); };
module.exports._insertCss = function(options) { return insertCss(content, options) };
Expand Down

1 comment on commit 3d3bc70

@Stanback
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, just what I was looking for 👍

Please sign in to comment.