Can gulp-dom-src exclude files?

  node.js, question

Don’t want gulp to merge jQuery, does gulp-dom-src have this function?

You can combinegulp-filter

var jqFilter = filter('**/*.js', {restore: true});
 
 gulp.task('js', function() {
 return domSrc({file:'index.html',selector:'script',attribute:'src'})
 .pipe(jqFilter)
 .pipe(concat('app.full.min.js'))
 .pipe(uglify())
 .pipe(gulp.dest('dist/'));
 });

Of course gulp-dom-src can also be used, you can just write a complicated selector.script:not([src*="jquery"])