gulp-simple-preprocess
v1.0.0
Published
Preprocess html, js and css based off environment configuration
Downloads
6
Maintainers
Readme
gulp-simple-preprocess
Preprocess html, js and css based off environment configuration with simple-preprocess
Issues with the output should be reported on the simple-preprocess issue tracker.
Install
$ npm install --save-dev gulp-simple-preprocess
Usage
var gulp = require('gulp');
var simplePreprocess = require('gulp-simple-preprocess');
gulp.task('default', function () {
return gulp.src('src/*.html')
.pipe(simplePreprocess({
env: 'prod'
}))
.pipe(gulp.dest('dist'));
});
License
MIT © Steve Mao