gulp-pug gulpfile.js const gpug = require("gulp-pug"); const routes = { pug : { watch: 'src/**/*.pug', src: 'src/**/*.pug', dest: "dist" } } const pug = () => gulp .src(routes.pug.src) .pipe(gpug({ pretty:true })) .pipe(gulp.dest(routes.pug.dest)); ./include/layout.pug doctype html html.no-js(lang='en') head meta(charset='utf-8') meta(http-equiv='x-ua-compatible' content='ie=edge') title Test Pu..