Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Show all assets files available in gem on site #362
Hey @westonganger ! Thanks very much for the feedback. Are you talking about where it used to show up like this, except with the correct scripts?
If so, the reason for the change was that you should only need to include what is directed by the new design. However, we recognize that many (if not most) people who make bower packages don't necessarily include this correctly. Can you give us one specific example of where you needed to look it up? That would help us improve it. Of course, PRs are definitely welcome.
This repo for example https://github.com/ceolter/ag-grid
I am guessing you build from main.js or something. This one fails because it is looking for a common js require. If I could access the dist folder then I could just correctly require the dist files that I need.
Another use case for this could be an optional theme stylesheet or something like that.
This would be great - if I want to include additional themes I have to dig around. And stylesheets don't ever seem to be included in the list.
For swagger-ui, I had to add the scss file -
// application.scss *= require swagger-ui/dist/css/style.scss
And I gave up before I managed to get the swagger js to all work. Requiring their version of backbone made sprockets expliode -