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: {
// Point to the files that should be updated when
// you run `grunt wiredep`
src: [
'<%= yeoman.app %>/index.html'
],
// Optional:
// ---------
options: {
cwd: '',
dependencies: true,
devDependencies: false,
exclude: [],
fileTypes: {},
ignorePath: '',
overrides: {}
}
}
},
Please verify a type of dependencies in bower.json file. You probably have them installed as devDependencies using --save-dev. Regarding to the optional section for wiredep (that You attached) "devDependencies" option is switched off, so this kind of dependencies are ommited. In order to check this case quickly turn on option as below and run wiredep task:
// Optional:
// ---------
options: {
// ...
devDependencies: true
// ...
}
If my assumptions will confirm You should have dependencies injected in Your target html between tags:
<!-- bower:js -->
<!-- place for dependencies -->
<!-- endbower -->
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With