wiredep Questions
2
Solved
2
Solved
I want to adapt a gulpfile.js and change my bower_components/ folder to app/bower_components/.
I updated the directory in .bowerrc, so now everytime i do a bower install it will use the right one:...
6
Solved
I have an index.html file. In my bower.json file I have a dependency:
"bootstrap": "~3.3.2"
In a gulp file I have:
gulp.src('./main.html')
.pipe(wiredep({
bowerJson: require('./bower.json')
...
1
The current project structure is somewhat like this:
-index.html
|
-bower.json
|
+-bower_components
The proposed project structure will add a few more static html files in the project root. Till...
Auxesis asked 20/5, 2015 at 6:43
1
I'm trying to use wiredep to inject bower dependencies. I am confused a little about how it works, and why it is only working for my JS files.
gulp.task('wiredep', function(cb){
gulp.src('./inde...
Battleship asked 25/11, 2015 at 17:48
1
Solved
Im trying to use Wiredep in a Gulp task to inject Bower dependencies in my index.html file. The following task (without Wiredep) runs fine.
gulp.task('build', ['copy', 'assets'], function(){
ret...
1
I'm using bower to install bootstrap and font-awesome packages, and use Grunt as a build solution. I have wiredep configured to properly update my index.html file. Everything works great. The only ...
Hoop asked 11/8, 2014 at 1:59
1
Solved
Most packages nowadays are available in both NPM and Bower. I have to have NPM around, but I'd like cut Bower out of the loop on my project.
I'm currently relying on grunt-wiredep to create <sc...
Terpsichorean asked 23/7, 2015 at 22:46
1
Running "wiredep:target" (wiredep) task
Done, without errors
but not injecting dependencies of bower.json.
Cant debug this problem. Any help is appreciated.
Gruntfile.js:
wiredep: {
target: {...
Rollmop asked 17/9, 2014 at 18:46
2
Solved
The grunt-wiedep task outputs relative paths for assets. I instead need absolute paths.
So, I reconfigured the replace block as suggested here: https://github.com/stephenplusplus/grunt-wiredep/issu...
Sacksen asked 8/6, 2014 at 19:4
2
Solved
Is there a way to combine and minify all bower installed libraries into 1 file automatically?
First I tried the most basic approach: combine all .js files from all subdirectories:
uglify: {
opti...
Pretentious asked 15/8, 2014 at 6:49
1
© 2022 - 2024 — McMap. All rights reserved.