Answer the question
In order to leave comments, you need to log in
Bower + Gulp how to collect fonts, pictures and structure?
Hello everyone, I’m studying Bower and Gulp, I liked Bower, it’s convenient to connect plugins, but where there are pluses there are also minuses) at least I still don’t understand how to build the plugin that I downloaded using bower.
Here is my code:
var mainBowerFiles = require('main-bower-files');
var bowerNormalize = require('gulp-bower-normalize');
gulp.task('main-bower-files', function() {
return gulp.src(mainBowerFiles())
.pipe(bowerNormalize({ bowerJson: './bower.json' }))
.pipe(gulp.dest(distFolder+'/components'))
});
Answer the question
In order to leave comments, you need to log in
When you get tired of cycling, use yeoman.io
and use npm. Bower is no longer needed in 2k17
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question