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
sprockets require_tree uses paths that are strictly relative to the file, which creates inconsistent behavior, i.e. for a directory structure like this:
app
controllers
some_controller.js
app.js
config
high_five
app-common.js
// This works://= require app/app.js// This should work but doesn't: //= require_tree app/controllers// So we have to write the require_tree as such: //= require_tree ../../app/controllers
This might require either a patch to sprockets or a new directive processor, I'm not sure if the sprockets team would be open
The text was updated successfully, but these errors were encountered:
sprockets require_tree uses paths that are strictly relative to the file, which creates inconsistent behavior, i.e. for a directory structure like this:
This might require either a patch to sprockets or a new directive processor, I'm not sure if the sprockets team would be open
The text was updated successfully, but these errors were encountered: