How to filter files in help thread?

There is code Dachshund

return gulp.src(paths.src)
 .pipe(webpackStream(wpConfig, webpack2))
 // .pipe(header(config.header.js, {updated: (new Date()).toUTCString()}))
.pipe(gulp.dest(paths.dist))
 .pipe(browserSync.stream())


Wish to use gulp-header to insert a header in the file. The problem is that webpackStream spits out as. js files so card sorrow .map.js. And gulp-header inserts the header in all that constitutes it, thus ruining ArcMap.
How would I filter out .map.js files, so they were not included in the processing of gulp-header, but it came to gulp.dest()?

Or maybe gulp-header of PayPal after recording to disk. Then you just need to filter .map files.
Damn, when js the two will be overwritten. In short, some crap... what to do XS.
June 26th 19 at 14:07
1 answer
June 26th 19 at 14:09
Solution
It is obvious to use gulp-filter
How easy! Thank you. - Lulu_Zulauf71 commented on June 26th 19 at 14:12
: not at all - idella_Stoltenberg2 commented on June 26th 19 at 14:15
By : about the expansion of the toaster. It is possible to add a monospaced font to forms/comments / answers? - Lulu_Zulauf71 commented on June 26th 19 at 14:18
: when you write text to a monospaced font? - idella_Stoltenberg2 commented on June 26th 19 at 14:21
Yes. Often the code to input is necessary, and I want to look beautiful, with smooth margins. - Lulu_Zulauf71 commented on June 26th 19 at 14:24
: gash )) - idella_Stoltenberg2 commented on June 26th 19 at 14:27
: updated according to your wishes. Use of health =) - idella_Stoltenberg2 commented on June 26th 19 at 14:30

Find more questions by tags Gulp.jsNode.js