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
dartsass-ruby, an upgrade of sassc-ruby which is mostly a compatibility shim for feature differences between SassC and Dart Sass. (This is planned to be removed.)
These gems use sass-embedded under the hood, which provides Ruby native interface for Dart Sass.
The SassC gem maintainers were unresponsive so I went ahead and released a gem to benefit Sprockets users. The code is a bit of kludge at the moment. I'd be glad if Rails team wants to take these over, as the current dartsass-rails gem doesn't seem to gel as well (dartsass:watch and all is too much for a troglodyte developer like me to handle 🦖)
The text was updated successfully, but these errors were encountered:
johnnyshields
changed the title
FYI: dartsass-sprockets gem
FYI: dartsass-sprockets gem (upgrade of sassc-rails gem)
Feb 3, 2023
johnnyshields
changed the title
FYI: dartsass-sprockets gem (upgrade of sassc-rails gem)
FYI: dartsass-sprockets gem released (upgrade of sassc-rails gem)
Feb 3, 2023
Does it mean this gem supports assets helpers such as the image-url ? Currently this is a bigger issue with dartsass-rails and requires adding a workaround such as this helper inside an initializer that is shared in many places on the Internet:
classAssetUrlProcessor...
UPDATE: please disregard the above, sprockets-rails+dartsass-rails just solved this issue rails/sprockets-rails#513 (ie. change the image-url to url and it'll use fingerprinted assets)
I've released the following gems:
These gems use sass-embedded under the hood, which provides Ruby native interface for Dart Sass.
The SassC gem maintainers were unresponsive so I went ahead and released a gem to benefit Sprockets users. The code is a bit of kludge at the moment. I'd be glad if Rails team wants to take these over, as the current dartsass-rails gem doesn't seem to gel as well (
dartsass:watch
and all is too much for a troglodyte developer like me to handle 🦖)(cc: @xfalcox)
The text was updated successfully, but these errors were encountered: