- Via United24 platform (the initiative of the President of Ukraine):
- Via National Bank of Ukraine:
Optimize jinja like templates with JLTO.
With npm do:
npm install gulp-jlto --save-dev
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'));
});