rharriso / bower-rails

Bundler-like DSL + rake tasks for Bower on Rails
MIT License
1.46k stars 128 forks source link

//=require bower_component not getting all required js files #180

Closed tlkiong closed 8 years ago

tlkiong commented 8 years ago

Assume I have a bower component A. For A to work well, I would require 2 files:

//=require will only pickup A.js and not A-template.js

tlkiong commented 8 years ago

Found it. This should be more explicitly mentioned in the docs:

//=require bower_component_dir/bower_component_js_file

This means if using the initial example (assuming A.js & A-template.js is at /A/dist/src/ , it should be: