A
A
Andrey2019-01-10 14:13:10
JavaScript
Andrey, 2019-01-10 14:13:10

How to check the contents of a file in Gulp?

Hello. Tell me how to make a similar construction in gulp
something like:

gulp.src(path.src)
.pipe(filter('hello world'))
.pipe(gulp.dest(path.build));

So that only files containing the substring "hello world" are processed?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vadim Kot, 2019-01-10
@svistiboshka

https://www.npmjs.com/package/gulp-content-filter
Filters by RegExp

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question