Home

Awesome

gulp-surplus

A Gulp plugin for compiling Surplus JSX views.

How to install

> npm install --save-dev gulp-surplus
// gulpfile.js
var gulp = require('gulp'),
    surplus = require('gulp-surplus');
 
gulp.task('default', function () {
    return gulp.src('view.jsx')
        .pipe(surplus())
        .pipe(gulp.dest('dist'));
});