grunt-bower-task
grunt-bower-task copied to clipboard
Rename files during copy
It would be great if files could be renamed when grunt-bower-task is copying them to their new destination. Example:
{
"name" : "test",
"version": "0.1",
"dependencies" : {
"jquery-ui" : "latest"
},
"install" : {
"path" : "some/path",
"sources" : {
"jquery-ui" : {
"mapping": [
{"bower_components/jquery-ui/ui/jquery-ui.js": "jquery-ui.js"},
{"bower_components/jquery-ui/ui/minified/jquery-ui.min.js": "jquery-ui-min-new-name.js"}
]
}
}
}
}
As found in: https://github.com/blittle/bower-installer#rename-files-during-copy
+1
+1
+1