Skip to content

Commit

Permalink
cssnano: use workaround for issue cssnano/cssnano#87
Browse files Browse the repository at this point in the history
  • Loading branch information
ernscht committed Jan 1, 2016
1 parent 83b84c5 commit 7864796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/templates/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ gulp.task('minify-css', ['compile-css'], function () {
assets.forEach(function (asset) {
gulp
.src('public/assets/css/' + asset.name)
.pipe(cssnano())
.pipe(cssnano({mergeRules:false}))
.pipe(rename(asset.name.replace('.css', '.min.css')))
.pipe(size({showFiles:true,gzip:true,title:'CSS minified'}))
.pipe(gulp.dest('public/assets/css/'));
Expand Down

0 comments on commit 7864796

Please sign in to comment.