alchaplinsky / polymer-core-rails

Polymer core elements for Ruby on Rails project
MIT License
32 stars 17 forks source link

remove files that prevent `rake assets:precompile` from working #11

Closed LukeWinikates closed 9 years ago

LukeWinikates commented 9 years ago

Currently it doesn't seem to be possible to push an app to heroku if you're bundling polymer-core-rails, because several files break asset precompilation. It seems like sprockets just loads everything, so I decided to see if I could make headway by deleting all the files that got in the way.

A lot of them are "demo" files and other things that are included in the bower packages but don't really need to be seen by sprockets. Excluding those from this gem seems fine, although I'm not sure how to maintain that moving forward without adding friction to the process of updating the components with future Polymer releases.

I'm also not sure why some of these files needed to be deleted, or why they exist in the original bower packages at all-- LICENSE ? Makefile ?

I don't think it makes sense to merge this commit, especially since it looks like it removes core-animation completely, but what's a better way to get asset precompilation working?