Closed christrude closed 9 years ago
bootstrap-css
will be eliminated (at some point). Using bootstrap
proper pulls in a bunch of JavaScript files we don't need. I'm not sure why you need it or are using it alongside ui-bootstrap
.
I would accept this PR with line 9 reverted.
See that'd be great if bootstrap-css as a dependency only pulled the css files, but it doesn't, it pulls basically the bootstrap dist folder. The problem with this is that most people are already including bootstrap, and this creates a second dependency as bootstrap-css, bloating the asset stack, and if you use grunt-bower-install in your build scheme, it will put multiple instances of bootstrap file dependencies in the index.html file. It' just causing duplicates. I see what you mean though. You don't have to accept it.
On Tue, Oct 14, 2014 at 2:51 PM, Christopher Hiller < notifications@github.com> wrote:
bootstrap-css will be eliminated (at some point). Using bootstrap proper pulls in a bunch of JavaScript files we don't need. I'm not sure why you need it or are using it alongside ui-bootstrap.
I would accept this PR with line 9 reverted.
— Reply to this email directly or view it on GitHub https://github.com/boneskull/angular-tags/pull/50#issuecomment-59122971.
If "most people" are including all of bootstrap
just to use ui-bootstrap
, most people are doing it wrong.
Especially when using grunt-wiredep
(which is either the successor to grunt-bower-install
or just a rename; not sure)--this will include bootstrap.js
in your HTML.
You're right about bootstrap-css
. A better package would be bootstrap-css-only
, I imagine.
Regardless, I'm going to eliminate any "css" dependencies from this package (at some point) or someone can help me do it.
I'm going to close this if you don't wish to make the requested change. Thanks!
Please allow this pull request to go through. Causing a lot of problems at build time with grunt package injection with duplicity of components.