Closed Taeir closed 3 years ago
I have found a solution for the problem. I'm not sure if something changed in the asset pipeline, but all the files in the link_directory as specified by the manifest (i.e. assets/stylesheets) will be processed as stand-alone files and compiled, even if these are partials. Moving all partials into a subdirectory and updating the imports fixes the problem.
I will close this issue.
I'm currently in the process of migrating from sass-rails to sassc-rails.
I get an error on the first stylesheet (alphabetically)
_alert.bootstrap.scss
because the value of a variable which is defined in_settings.bootstrap.scss
cannot be found:Instead of loading all the partial files individually, I expect sassc to load the
application.scss
which has:And thus the required variables should be made available by the first import.
For context, the stylesheets are being compiled as a result of the following call:
Is there something I am doing wrong?