Closed dtracers closed 9 years ago
What effect would you hope it to have? If you were to do that, wiredep would try to get information about bower_components/projectIwantJqueryToDependOn
to find if it has a main
file to inject as well as to determine the sorting order.
You can use this to override unwanted dependencies. For example I used the following snippet
"overrides": {
"angularjs-color-picker": {
"main": "angularjs-color-picker.js",
"dependencies": {
"tinycolor": "~1.1.0",
"angular": "~1.3.0",
"bootstrap": "~3.3.0"
}
}
}
to override the original dependency to angularjs
.
@hzpz is spot on.
example: