Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1007 Bytes

README.md

File metadata and controls

41 lines (30 loc) · 1007 Bytes

Support Ukraine 🇺🇦

#StandWithUkraine

gulp-jlto

NPM

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'));
});