gulp-require-htmltemplete
v2.0.1
Published
Concatenates and registers requirejs templates in the $templateCache.
Downloads
1
Maintainers
Readme
gulp-require-htmltemplate
Based on https://github.com/miickel/gulp-angular-templatecache
Install
Install with npm
npm install gulp-require-htmltemplate --save-dev
Example
gulpfile.js
var templateCache = require('gulp-require-htmltemplate');
gulp.task('default', function () {
return gulp.src('templates/**/*.html')
.pipe(templateCache())
.pipe(gulp.dest('public'));
});