N
N
Nikolai2019-02-05 17:01:26
gulp.js
Nikolai, 2019-02-05 17:01:26

How to take only those files that start with the gb prefix?

How to take only those files that start with the gb prefix?

gulp.task('inlinesource', function () {
  return gulp.src('./app/modules/**/*.html') - здесь нужно выбрать только те файлы имя которых начинается с gb. Например gb-info.html
    .pipe(inlinesource())
    .pipe(gulp.dest('./dist/'));
});

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Demian Smith, 2019-02-05
@nikolay_akhmetyanov

return gulp.src('./app/modules/**/gb*.html')

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question