6.0.0 • Published 5 days ago
gulp-html2pug v6.0.0
gulp-html2pug
Convert html files to pug
Install
$ npm install --save-dev gulp-html2pug
Usage
Convert index.html
to pug/index.pug
:
import gulp from 'gulp';
import html2pug from 'gulp-html2pug';
gulp.task('pug', () =>
gulp.src('index.html')
.pipe(html2pug(/* options for html2pug such as { fragment: true } */))
.pipe(gulp.dest('pug'))
);
License
See the LICENSE file for license rights and limitations (MIT).
6.0.0
5 days ago
5.1.1
1 year ago
5.1.0
2 years ago
5.0.0
2 years ago
4.1.0
3 years ago
4.1.1
3 years ago
4.0.0
3 years ago
3.0.3
4 years ago
3.0.2
4 years ago
3.0.1
4 years ago
3.0.0
4 years ago
2.0.0
4 years ago
1.2.1
6 years ago
1.2.0
6 years ago
1.1.0
7 years ago
1.0.0
7 years ago
0.0.2
8 years ago
0.0.1
8 years ago
0.0.0
8 years ago