bower install r2d3 -S
Closed this issue · 3 comments
webmaven commented
So, there are a number of challenges with using R2D3 within a workflow based on Bower + Grunt:
- R2D3 gets added as a dependency, but it isn't conditional (not sure if Bower has such a mechanism) on the browser version.
- grunt-bower-install adds R2D3 into index.html, but not within the
<!--[if lt IE 9]>
block. - The script tag that grunt-bower-install adds does not have
charset="utf-8"
. - Other libraries that list D3 as a dependency don't get that dependency satisfied.
Any workarounds (other than "don't use Bower")?
webmaven commented
I created an issue inquiring about conditional dependencies in Bower here: bower/bower#1226
webmaven commented
Closing as out of date.