Answer the question
In order to leave comments, you need to log in
How to set up gulp-order so that jquery comes first?
Good morning!
Help setting up gulp-order.
Is it possible that gulp-order would form the order from bower.json -> dependencies?
Or tell me how to set this order easier?
"dependencies": {
"jquery": "^3.1.1",
"bootstrap": "^3.3.7",
"vue": "^2.1.8"
}
gulp.task('vendors', function () {
return gulp.src(mainBowerFiles())
.pipe(filter('**/*.js'))
.pipe(order())
.pipe(concat('vendor.js'))
.pipe(gulp.dest('app/theme/js'));
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question