Closed joshbedo closed 9 years ago
I can agree, I have the same behaviour.
You can use .bowerrc for configure bower directory: http://bower.io/docs/config/#directory
The problem occurs when you configure a bower directory within the .bowerrc file. It creates the specified directory and also creates a bower_components
directory.
Use:
gulp.task('bower', function() {
console.log(pkg.projectPath);
return bower()
});
I came across an issue where
gulp-bower
generates thebower_components
directory at the destination i set but it also creates abower_components
directory in the directory containing thebower.json
file outside of the destination. I'm also seeing this via terminal and it seems like the bower task finishes then it runs a caching implementation which creates another directory.gulpfile.js