gulp - What does "!" mean in file paths? -


i reading on someone's gulpfile.js found, , came across interesting character i've not seen in file paths before; ! symbol. tried searches yielded nothing.

gulp.task("min:js", function () {     gulp.src([paths.js, "!" + paths.minjs], { base: "." })         .pipe(concat(paths.concatjsdest))         .pipe(uglify())         .pipe(gulp.dest(".")); }); 

does ! have particular meaning, here?

i'm not expert on gulp, quick search shows tells gulp ignore given path.

prepending path exclamation mark tells gulp exclude directory.

so, in example, paths.minjs should excluded task gulp performing.


actually used negate pattern, based on answer question. is, used select not match following pattern. consequence, ignores path in pattern.


Comments