Skip to content
/ gulp-rejs Public

Gulp support for ReJS, a tool for concatenating JavaScript files based on the dependencies between them.

License

Notifications You must be signed in to change notification settings

kuu/gulp-rejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-rejs

Gulp support for ReJS, a tool for concatenating JavaScript files based on the dependencies between them. Issues with the output should be reported on the [ReJS issue tracker] (https://github.com/Moncader/rejs/issues).

##Install

$ npm install --save-dev gulp-rejs

##Usage

var gulp = require('gulp');
var rejs = require('gulp-rejs');

gulp.task('default', function () {
    return gulp.src('src/**/*.js')
        .pipe(rejs('output.js'))
        .pipe(gulp.dest('dist'));
});

##API ###rejs(outputFileName, options) Options are passed through to ReJS, except for options.newLine which is set for you. ####outputFileName ####options

#####newLine

Type: string Default: gulp-util.linefeed

The string will be used to separate each file content.

##License MIT

About

Gulp support for ReJS, a tool for concatenating JavaScript files based on the dependencies between them.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages