Wiredep gulp file order

I'm looking for an easy way to pass parameter files to wiredep, which allows me to install jquery on top of angular while it is working with dependencies, so it installs jquery at the bottom.

I pass as options:

var options = { bowerJson: require('./bower.json'), directory: './bower_components/', ignorePath: '../..' }; 

devDependencies is True, I cannot find any parameter in the documentation that allows me to do

+5
source share
1 answer

I ended up saying this explicitly:

 var options = [ 'css/component*.css', 'css/global.css', 'css/main-custom.css' ] 

and passing this to a gulp pipe, for example

 gulp.src("/*.html").pipe(options).... 
0
source

Source: https://habr.com/ru/post/1241627/


All Articles