Closed glenwinters closed 6 years ago
Hi !
I'm using angular-ui-bootstrap
instead of angular-bootstrap
because you can choose which components you use. This module is only required if you use module swagger-authentication
This module should maybe only be used in dev
mode, I'll put it in devDependencies.
Regards
Since the authentication module is not included by default, I agree that angular-ui-bootstrap
shouldn't be in the main dependencies. Thanks for the response.
In the meantime, I was able to get around this problem by ignoring the dependency via .bowerrc
:
ignoredDependencies: ["angular-ui-bootstrap"]
I'm using main-bower-files during my build process to get the files specified by the "main" property of
bower.json
for every bower dependency. Forangular-ui-bootstrap
, whichangular-swagger-ui
requires, it's gettingbower_components/angular-ui-bootstrap/index.js
which is not a correct client-side JS file, and it's causing a crash in my build. I noticed thatangular-ui-bootstrap
doesn't even have abower.json
file.The README for
angular-ui-bootstrap
specifies here that you should installangular-bootstrap
, notangular-ui-bootstrap
via bower.angular-bootstrap
does have abower.json
file with the "main" property pointing to a usable client-side JS file.Is there a reason
angular-swagger-ui
is requiringangular-ui-bootstrap
instead ofangular-bootstrap
?Thanks!