Answer the question
In order to leave comments, you need to log in
How to properly exclude files from the selection?
I don’t understand how it is possible to exclude JavaScript files in the build task, for example, I have it like this now:
return gulp.src([
'app/libs/jquery.js',
'app/libs/scrolloverflow.min.js',
'app/libs/jquery.fullpage.js',
'app/libs/*.js'
])
Answer the question
In order to leave comments, you need to log in
You should not have these files in the source folder at all.
You must install these packages with npm and process all vendors separately. Either glue them into a common file, or connect them separately, or in some other way.
If you want just that, then it will be easier to put them in a separate folder and not bother with the exception.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question