Skip to content
Browse files

Merge pull request #4 from vtsatskin/clean-css-fixes

fix clean-css usage
  • Loading branch information...
2 parents 6bb2295 + 3b13ec2 commit 9c1351329c2e2fd0e846545b52bf631353f469e5 @niclashoyer niclashoyer committed Jul 1, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/index.coffee
View
2 src/index.coffee
@@ -22,7 +22,7 @@ module.exports = (env, callback) ->
includePaths: includePaths
success: (css) ->
if config.minify isnt false
- css = ccss.process css, env.config['clean-css']
+ css = new ccss(env.config['clean-css']).minify(css)
callback null, new Buffer css
error: (err) ->
callback new Error err

0 comments on commit 9c13513

Please sign in to comment.
Something went wrong with that request. Please try again.