Narwhals Poke Mammals

    gulp-tale-pug

    1.2.1 • Public • Published

    npm

    Gulp Tale Jade

    Gulp plugin for Tale Jade.
    Eventually to use Phug.

    Usage

    Example gulpfile.js:

    const plumber = require( 'gulp-plumber' );
    const browsersync = require( 'browser-sync' ).create();
    const jade = require( 'gulp-tale-jade' );
     
    gulp.task( 'default', [ 'templates', /* … */ ] );
     
    gulp.task( 'watch', ['browsersync'], function () {
        gulp.watch( 'templates/**/*.jade', [ 'templates' ]).on('change', browsersync.reload);
    });
     
    gulp.task( 'templates', function () {
        return gulp.src( [ 'templates/*.jade' ] )
            .pipe( plumber() )
            .pipe( jade() )
            .pipe( gulp.dest( /* DESTINATION */ ) );
    });

    Install

    npm i gulp-tale-pug

    DownloadsWeekly Downloads

    1

    Version

    1.2.1

    License

    MIT

    Unpacked Size

    505 kB

    Total Files

    165

    Last publish

    Collaborators

    • tmslnz