0.0.2 • Published 8 years ago

gulp-rejs v0.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

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.

##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

0.0.2

8 years ago

0.0.1

9 years ago

0.0.0

10 years ago