Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

application.css and application.js are automatically included as top level assets in Rails apps. #134

Open
stephenprater opened this issue Oct 8, 2014 · 0 comments

Comments

@stephenprater
Copy link

Within the source directory are Sprockets-style application.js, application.css files. If you install the jquery-sortable library into a directory on the sprockets load path (IE, via rails-bower) those files are automatically compiled as top level assets, which doesn't seem right to me.

I think the easiest way to fix this would be to ensure that the Sprockets / Test files are not-included in a bower install - but I'm not sure if this problem is going to occur in other environments.

That said, as far as I can tell, those files are used only for testing and won't work in any NON-Rails environment, so they should probably included in the ignore list in any case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant