Skip to content
Browse files

update clean-css usage

  • Loading branch information...
1 parent 6bb2295 commit 3b13ec2ec1a4044e30c394f8873760dd08d604e7 @vtsatskin vtsatskin 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 3b13ec2

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