How to use the template function from gulp-util

Find comprehensive JavaScript gulp-util.template code examples handpicked from public code repositorys.

29
30
31
32
33
34
35
36
37
38
  filename = path.basename(file.path);
} else {
  filename = '';
}

var template = gutil.template(headerText, extend({file : file}, data));
_file = file;
concat = new Concat(true, filename);

if (file.isBuffer()) {
fork icon27
star icon0
watch icon2

+ 3 other calls in file