Closed ghost closed 3 years ago
I saw this and think I have a solution. We have to remove the link_tree stylesheets from the config/manifest.js. Will get this sorted.
Ah, of course — I forgot about the magic comments in Sprockets. Are they relevant anymore with the shiny new setup?
I can confirm that removing the link_tree
line for the stylesheets in manifest.json
fixes the issue. Would you like me to open a PR, or are you on it?
Fixed within https://github.com/rails/cssbundling-rails/pull/3 👍
Been trying out the new pipeline with
sass
as the--css
option in Rails. It seems that Sprockets is still looking forsassc
, which causes a Rails exception. Dart Sass is compiling fine to thebuild
directory, so just looks like a legacy dependency issue.I could get it working fine by uncommenting
sassc-rails
in theGemfile
, however this is obviously not needed with Dart Sass. I'm happy to open a PR on Railsmain
to remove the dependency if this is the agreed route.