0.0.3 • Published 10 years ago
gulp-concat-limit v0.0.3
gulp-concat-limit v0.0.3
Information
Install
npm install gulp-concat-limit
Example usage with Gulp
var gulp = require('gulp');
var concat = require('gulp-concat-limit');
gulp.task('concat', function() {
gulp.src('./css/*.css')
.pipe(concat('style-', 256))//2KB
.pipe(gulp.dest('./combinedCSS'));
});
gulp.task('default', ['concat']);
// Rerun the task when a file changes
gulp.task('watch', function () {
gulp.watch('./css/*.css', ['concat']);
});
Parameters
fileName (required) string sizeLimit (optional) number, defaults to 25600 (200KB) options (optional); options.newLine (optional) boolean, defaults to false
0.0.3
10 years ago