Nefarious Plastic Mannequins

    gulp-ztpl

    1.0.1 • Public • Published

    gulp-ztpl

    tmodjs's gulp version.

    Install

    $ npm install gulp-ztpl --save-dev

    Usage

    var tmodjs = require('gulp-ztpl');
     
    gulp.task('default', function(){
     
        return gulp.src('./test/tpl/**/*.html')
                .pipe(tmodjs({
                    base: './test/tpl',
                    combo: true,
                    output: './test/dist'
                }));
     
    });

    Watch

    gulp.task('watch', function(){
        return gulp.src('./test/tpl/**/*.html')
                .pipe(watch(function(files){
                    files.pipe(tmodjs({
                        base: './test/tpl',
                        combo: true,
                        output: './test/dist'
                    }));
                }));
    });

    More see gulp-watch

    Test

    $ npm test

    More

    See tmodjs

    Install

    npm i gulp-ztpl

    DownloadsWeekly Downloads

    0

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • caigua
    • zwlo