Slicejack / bojler

Bojler is an email framework
https://bojler.slicejack.com
MIT License
1.03k stars 59 forks source link

[feature request] pug templates #129

Closed alechance closed 5 years ago

alechance commented 5 years ago

Hello,

I've been testing your project and trying to add pug templates on top of your gulp tasks, with no success. Based on the @akzhan/gulp-juice documentation, here's what I should do

var juice = require('gulp-juice'),
  jade = require('gulp-jade');

gulp.task('bootloader', function(){
  gulp.src('./app/templates/bootloader.jade')
    .pipe(jade({pretty: true}))
    .pipe(gulp.dest('./.build'))
    .pipe(juice())
    .pipe(gulp.dest('./.build'));
});

Can you help me? Thank you for your time!

alenvuletic commented 5 years ago

Hi @alechance, unfortunately we're not thinking about adding PUG templates currently.

Thanks!