gulp-combine-mq

Gulp plugin for node-combine-mq

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
gulp-combine-mq
42100.4.08 years ago8 years agoMinified + gzip package size for gulp-combine-mq in KB

Readme

gulp-combine-mq
!NPM versionnpm-imagenpm-url
Combine matching media queries into one media query definition. Useful for CSS generated by preprocessors using nested media queries.

Usage

First, install gulp-combine-mq as a development dependency:
npm install --save-dev gulp-combine-mq

Then, add it to your gulpfile.js:
var combineMq = require('gulp-combine-mq');

gulp.task('combineMq', function () {
	return gulp.src('test.css')
	.pipe(combineMq({
		beautify: false
	}))
	.pipe(gulp.dest('tmp'));
});

Contributing

!Build Statustravis-imagetravis-url
To contribute check the GitHub issues then work away!
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality.

Release History

  • 04-03-15 - v0.4.0 - Make beautify optional from Node task.
  • 30-12-14 - v0.3.1 - Default beautify to true in gulp task configuration.
  • 21-12-14 - v0.3.0 - Update to node-combine-mq v0.7.0 to fix output beautification issues.
  • 20-12-14 - v0.2.0 - Update to node-combine-mq v0.4.0 to fix font-face issues.
  • 29-09-14 - v0.1.1 - Add dependencies.
  • 29-09-14 - v0.1.0 - Initial release.

License

MIT License