Answer the question
In order to leave comments, you need to log in
Apply plugins depending on file extension in one .pipe chain?
It is necessary that, depending on the file extension, this or that function is applied, because. various files come into the input
Src('Source/Templates/*/**/index.*')
.pipe( Replace(...) )
.pipe( IncludeFiles(...) )
.pipe( /*Вот тут вот где-нить ext-контроллер впихнуть*/ )
.pipe( RebuildFilePath(...) )
.pipe( Dest('Build') )
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question