Media queries removed
Closed this issue · 2 comments
jlocans commented
Media queries are removed after minifying. In this issue I saw @lindevs mention the same problem, but did not get an answer, I think he wasn't understood clearly.
I have gulp-clean-css 3.0.3
My task:
cleanCSS = require('gulp-clean-css')
gulp.task('min-css', function () {
return gulp.src(['CSS/**/*.css'])
.pipe(cleanCSS())
.pipe(rename({ suffix: '.min' }))
.pipe(gulp.dest('CSS/min/'))
})
jlocans commented
It was faulty CSS, sorry.
scniro commented
@Janjuks no worries I am glad you got it solved so quickly 😃