gulp-ssp-preprocessor

1.0.2 • Public • Published

gulp-ssp-preprocessor

🍹 Gulp plug-in for simple preprocessor implementation.

npm version Dependency Status Development Dependency Status

Install:
$ npm install --save-dev gulp-ssp-preprocessor
Usage:
var gulp = require('gulp'),
preprocessor = require('gulp-ssp-preprocessor');
 
gulp.task('default', function () {
    return gulp.src('source.js')
    .pipe(preprocessor({
        conditions: ['FOO']
    }))
    .pipe(gulp.dest('out'));
});
Options
  • Options object with conditions property which is an array of Strings.

Package Sidebar

Install

npm i gulp-ssp-preprocessor

Weekly Downloads

1

Version

1.0.2

License

MIT

Last publish

Collaborators

  • stpettersens