gulp-tmodx

0.1.3 • Public • Published

gulp-tmod

NPM version Build Status Dependency Status

tmodjs's gulp version.

Install

$ npm install gulp-tmod --save-dev

Usage

var tmodjs = require('gulp-tmod');
 
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

grunt-tmod

Issues should be reported on the tmodjs issue tracker

Package Sidebar

Install

npm i gulp-tmodx

Weekly Downloads

1

Version

0.1.3

License

MIT

Last publish

Collaborators

  • channing