Answer the question
In order to leave comments, you need to log in
How to select all .js files in gulp but ignore .min.js?
Example: in the dir folder there are files file.js
and, file.min.js
well, a bunch of other things. I want to get only file.js
'similar ones: For some reason, the
code gulp.src(["dir/*.js", "!*.min.js"])
also returns those that min.js
. Why? How to do it right?
Answer the question
In order to leave comments, you need to log in
For now, you will ignore all minified files in the root. It looks like you need something like this:gulp.src(["dir/*.js", "!dir/*.min.js"])
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question