Socket
Book a DemoInstallSign in
Socket

gulp-concat-limit

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-concat-limit

Concatenates files into as few files as possible without exceeding a given length limit

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

gulp-concat-limit v0.0.3 Build Status

Information

Packagegulp-concat-limit
DescriptionConcatenates files into as few files as possible without exceeding a given length limit
Node Version>= 0.8

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

Keywords

gulpplugin

FAQs

Package last updated on 06 Feb 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts