lichunqiang / gulp-tmod

grunt-tmod gulp version
31 stars 8 forks source link

TypeError: Cannot read property 'tmodjs' of undefined #15

Closed cylzh closed 8 years ago

cylzh commented 8 years ago
var tmodjs = require('gulp-tmod');

gulp.task("tmod",function(){
    gulp.src('./static/js/**/*.html')
        .pipe(tmodjs({
            templateBase: './static/js/'
        }))
        .pipe(rev())
        .pipe(gulp.dest('./dist'))
})