Answer the question
In order to leave comments, you need to log in
How to grab files from Bower with Gulp?
How to automatically or at least semi-automatically pick up files from bower_components and copy them to the assets folder , subsequently performing certain operations with certain files?
Those. for example, I need to pick up jQuery from bower, but not compress it with the rest of the files, but for example Foundation Components I would like to build and minify.
Interested in the option without permanent editing gulpfile.js
Answer the question
In order to leave comments, you need to log in
main-bower-files
I use something like this
gulp.task('bowerJS', function () {
return del('src/js/vendor').then(function (paths) {
return gulp.src(mainBowerFiles('**/*.js'))
.pipe(gulp.dest('src/js/vendor'));
}).catch(console.dir);
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question