grunt-bower-concat
grunt-bower-concat copied to clipboard
You should specify "dest" and/or "cssDest" properties in your Gruntfile
I'm trying to use bower_concat. I get this error:
You should specify "dest" and/or "cssDest" properties in your Gruntfile
This is my gruntfile.js:
// Bower Concat
bower_concat : {
css : {
cssDest : 'includes/css/bower.css',
mainFiles : {}
},
js : {
dest : 'includes/js/bower.js',
exclude : [ "jquery" ],
mainFiles :{
}
}
}
In my bower there are those dependencies:
"dependencies": {
"jquery-filedrop": "~0.1.0",
"Jcrop": "^2.0.4",
"jQuery-contextMenu": "^2.2.0"
}
What's wrong with this?
Your bower_concat
task in your Gruntfile.js
should follow this form:
bower_concat : {
job_name : {
dest : {
js : 'path/to/bundle.js'
}
}
}
Hi! Have the same error. the structure is ok. "Running "bower_concat:dest" (bower_concat) task Verifying property bower_concat.dest exists in config...OK File: [no files] Warning: You should specify "dest" and/or "cssDest" properties in your Gruntfile. Use --force to continue."
Sorry, it seems that job name is necessary. What if I want to have only one job within a task? Why should I name it?