www.duckland.org/themes/minimage/tasks/_pug.js
2023-02-07 22:52:35 -06:00

19 lines
363 B
JavaScript

'use strict';
import gulp from 'gulp'
import pug from 'gulp-pug'
import plumber from 'gulp-plumber'
import config from '../config'
gulp.task('pug', () => {
return gulp.src([
config.source.html + '**/*.pug',
'!' + config.source.html + '**/_*.pug'
])
.pipe(plumber())
.pipe(pug({
pretty: true
}))
.pipe(gulp.dest(config.build.html));
});