Closed vaske closed 6 years ago
Hi there,
I'm using Yeoman for my project generation and it use gulp-angular-templatecache this is how my partials tasks looks like
const gulp = require('gulp'); const htmlmin = require('gulp-htmlmin'); const angularTemplatecache = require('gulp-angular-templatecache'); const conf = require('../conf/gulp.conf'); gulp.task('partials', partials); function partials() { return gulp.src(conf.path.src('src/**/*.html')) .pipe(htmlmin()) .pipe(angularTemplatecache('templateCacheHtml.js', { module: conf.ngModule, root: 'views' })) .pipe(gulp.dest(conf.path.tmp())); }
whole project is under src folder and all templates are located in views directory, did I miss something or what when I run this task it went ok but templateCacheHtml.js hasn't been generated at all.
views
tnx
Hi there,
I'm using Yeoman for my project generation and it use gulp-angular-templatecache this is how my partials tasks looks like
whole project is under src folder and all templates are located in
views
directory, did I miss something or what when I run this task it went ok but templateCacheHtml.js hasn't been generated at all.tnx