You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
since beta8 I can't use this repo with rails-assets anymore (problem relates to the following commit: 494123d)
Rails assets uses bower's main property to decide which files it bundles.. in result of the mentioned commit I don't have the compiled files available anymore. You might want to consider to add the dist files to bower main property again? So long I will use beta7.
Cheers Florian
The text was updated successfully, but these errors were encountered:
fsauter
changed the title
Not usable with rails-assets
Beta 8 is not usable with rails-assets anymore
Jul 6, 2016
Reading in the bower.json specs, main can contain "one file per filetype" – which sounds like your problem is easily solved by adding back select2-bootstrap.css (or its minified version) to bower.json.
Instead of going the trial-and-error route and rushing another release, I would like to ask @kalidema (who suggested the change that resulted in the problem you are having) and @kevin-brown (who handles all the hard work over at Select2 and probably knows why Select2s bower.json does not contain any compiled CSS) for advice, first.
For now, allow me one question: How do things work for you in terms of Select2, its bower.json and rails-assets?
@kevin-brown (who handles all the hard work over at Select2 and probably knows why Select2s bower.json does not contain any compiled CSS) for advice, first.
The answer for why we do it lies in the following pull request: select2/select2#3350
In short: There is/was a change to the Bower spec, and now they prefer the original source files over the pre-built distribution files.
Hi all,
since beta8 I can't use this repo with rails-assets anymore (problem relates to the following commit: 494123d)
Rails assets uses bower's main property to decide which files it bundles.. in result of the mentioned commit I don't have the compiled files available anymore. You might want to consider to add the dist files to bower main property again? So long I will use beta7.
Cheers Florian
The text was updated successfully, but these errors were encountered: