miickel / gulp-angular-templatecache

Concatenates and registers AngularJS templates in the $templateCache.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ignore files

rafaelcneves opened this issue · comments

Is there a way to ignore some files?

I have a code similar to this:

var templateCache = require('gulp-angular-templatecache');

gulp.task('default', function () {
  return gulp.src('templates/**/*.html')
    .pipe(templateCache())
    .pipe(gulp.dest('public'));
});

You can exclude files with gulp using the !-character...

gulp.src(['js/**/*.js', '!js/**/*.min.js'])