Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dmytro-krekota/gulp-jlto
https://github.com/dmytro-krekota/gulp-jlto
Last synced: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dmytro-krekota/gulp-jlto
- Owner: dmytro-krekota
- License: mit
- Created: 2018-03-24T14:33:12.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-08-05T21:48:00.000Z (over 2 years ago)
- Last Synced: 2024-12-15T16:55:13.313Z (19 days ago)
- Language: JavaScript
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Support Ukraine πΊπ¦
- Via United24 platform (the initiative of the President of Ukraine):
- [One click donation (credit card, bank transfer or crypto)](https://u24.gov.ua/)
- Via National Bank of Ukraine:
- [Ukrainian army](https://bank.gov.ua/en/about/support-the-armed-forces)
- [Humanitarian aid to Ukraine](https://bank.gov.ua/en/about/humanitarian-aid-to-ukraine)[#StandWithUkraine](https://twitter.com/hashtag/StandWithUkraine)
# gulp-jlto
[![NPM](https://nodei.co/npm/gulp-jlto.png?downloads=true)](https://nodei.co/npm/gulp-jlto/)
> Optimize jinja like templates with [JLTO](https://www.npmjs.com/package/jlto).
## Install
With [npm](https://www.npmjs.com/package/gulp-jlto) do:
```
npm install gulp-jlto --save-dev
```## Example
```js
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'));
});
```