gulp-group-css-media-queries
CSS postprocessing: group media queries. Useful for postprocessing preprocessed CSS files.
This plugin is a wrapper for the group-css-media-queries plugin.
WARNING: This package is not actively maintained!
Alternatives: css-mqpacker
$ npm install --save-dev gulp-group-css-media-queries
var gulp = require('gulp');
var gcmq = require('gulp-group-css-media-queries');
gulp.task('default', function () {
gulp.src('src/style.css')
.pipe(gcmq())
.pipe(gulp.dest('dist'));
});