gulp-jlto
v1.3.1
Published
Gulp tool for optimizing Jinja like templates
Maintainers
Readme
gulp-jlto
Optimize jinja like templates with JLTO.
Install
With npm do:
npm install gulp-jlto --save-devExample
let gulp = require('gulp');
let jlto = require('gulp-jlto');
gulp.task('jlto', () => {
return gulp
.src(['src/**/*.nunjucks'])
.pipe(
jlto({
minifyHtml: true,
})
)
.pipe(gulp.dest('build'));
});Tests
Tests are written using Node's assert module. To run them, invoke npm test.
Further Reading
Why You Should Write Open Source Code and How It Helps Your Career
License
JLTO is available under the MIT license, see the LICENSE file for more information.

