Transform HTML-Files.
npm install gulp-dom-processor --save-dev
var gulp = require('gulp');
var domProcessor = require('./');
var configLoader = require('./test/config/config-loader');
gulp.task('default', function() {
gulp.src('./input/*.html')
.pipe(domProcessor(configLoader))
.pipe(gulp.dest('./output'));
});
For the usage of configLoader
see this
MIT © Benjamin Eckardt