tablecheck / dartsass-sprockets

Integrate Dart Sass with Sprockets (Ruby on Rails asset pipeline)
MIT License
35 stars 5 forks source link

Replace dependency on dartsass-ruby with sass-embedded #2

Closed johnnyshields closed 8 months ago

johnnyshields commented 1 year ago

As per this thread, the dartsass-ruby gem is a compatibility shim which provides legacy SassC features on Dart Sass.

When Dart Sass 2.0 is released, many of these features will become impossible to support.

Therefore, we should get rid of the dartsass-ruby dependency and replace it with a direct integration to sass-embedded. This involves generally replacing any references to the ::SassC namespace. The sass-embedded documentation is here.

To recap:

A PR would be welcome for this.

johnnyshields commented 8 months ago

This is done