link_tree ignores scss files
Expected behavior
I would expect link_tree processes all files contained in the directory tree.
Actual behavior
sccs files are not being picked up, I have to resort to link-ing to them directly.
System configuration
- Rails 5.2.3
- Sprockets 4.0
- Ruby 2.5.8
Example config
This doesn't work, application.css.scss & assets.css.scss are considered missing from the precompile list:
//= link_tree ../stylesheets/customers
//= link_tree ../javascripts/customers
This works:
//= link_tree ../stylesheets/customers
//= link_tree ../javascripts/customers
//= link customers/application.css
//= link customers/assets.css
Please advise, TIA
Hello! Thanks for opening up an issue. In order to move forwards with this issue I'll need an example app that reproduces the behavior (https://www.codetriage.com/example_app).
@schneems , I encountered a similar issue, although in my case I have application.scss referencing a .css file via *= require somefile,
You can use my example code from #708 . Just add a simple .css file somewhere under /stylesheets and reference it from application.scss via *= require -- and you will get the error I am seeing.