Skip to content

Commit

Permalink
chore(dep): replace gulp-minify-css with gulp-cssnano for css minific…
Browse files Browse the repository at this point in the history
…ation

gulp-minify-css has been deprecated in favor of gulp-cssnano.
  • Loading branch information
jyounce committed Jan 29, 2016
1 parent 1101b60 commit e91e55c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -48,10 +48,10 @@
"gulp-cachebust": "0.0.6",
"gulp-coffee": "2.3.1",
"gulp-concat": "2.6.0",
"gulp-cssnano": "2.1.0",
"gulp-if": "2.0.0",
"gulp-jsonminify": "1.0.0",
"gulp-less": "3.0.5",
"gulp-minify-css": "1.2.2",
"gulp-minify-html": "1.0.4",
"gulp-nodemon": "2.0.6",
"gulp-plumber": "1.0.1",
Expand Down
6 changes: 3 additions & 3 deletions tasks/minify/minify-css.coffee
@@ -1,10 +1,10 @@
module.exports = (config, gulp) ->
q = require 'q'
minifyCss = require 'gulp-minify-css'
minifyCss = require 'gulp-cssnano'
promiseHelp = require "#{config.req.helpers}/promise"
minOpts =
advanced: false
processImport: false # inlining imports in inline-css-imports
save: true
normalizeUrl: false # build does this, see absolute-css-urls

runTask = (appOrRb) ->
defer = q.defer()
Expand Down

0 comments on commit e91e55c

Please sign in to comment.