Skip to content

Commit

Permalink
Turn off advanced CSS optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
austinpray committed May 4, 2015
1 parent f45f095 commit cf928c8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,10 @@ var cssTasks = function(filename) {
'opera 12'
]
})
.pipe(minifyCss)
.pipe(minifyCss, {
advanced: false,
rebase: false
})
.pipe(function() {
return gulpif(enabled.rev, rev());
})
Expand Down

2 comments on commit cf928c8

@iwillhappy1314
Copy link

Choose a reason for hiding this comment

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

Thanks a lot, the patch resolved my problem!

@keeth
Copy link
Contributor

@keeth keeth commented on cf928c8 May 6, 2015

Choose a reason for hiding this comment

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

I just noticed this too, after my build picked up the latest gulp-minify-css and my site broke. I filed a bug on that plugin. But this is probably a good defensive measure in any case. Just curious why you chose to disable advanced in addition to rebase?

Please sign in to comment.