1.0.3 • Published 11 years ago
gulp-additem v1.0.3
追加文件入缓存流中
USE: var cs = gulp.src(paths.coffee) .pipe(coffee({bare: true})) .pipe(concat('m.js')); .pipe(additem( tpls = gulp.src(paths.templates) .pipe(templateCache({ module: 'SMT', standalone: false, root: 'templates/', filename: "templates.js" })) )) .pipe(concat('m.js')) .pipe(gulp.dest(build_dir));