gulp-jlto
v1.2.1
Published
Gulp tool for optimizing Jinja like templates
Downloads
19
Maintainers
Readme
Support Ukraine 🇺🇦
- Via United24 platform (the initiative of the President of Ukraine):
- Via National Bank of Ukraine:
gulp-jlto
Optimize jinja like templates with JLTO.
Install
With npm do:
npm install gulp-jlto --save-dev
Example
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'));
});