gulp-rejs

0.0.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i gulp-rejs

Weekly Downloads

6

Version

0.0.2

License

MIT

Last publish

Collaborators

  • kuu