Change SassC dependency to Dart Sass
Since SassC no longer supports the newer syntax used in foundation 6.8+, this pull request changes the dependency to Dart Sass.
I'm not familiar with the dartsass libraries, but it looks like sass-embedded and sassc-embedded are actively maintained and the library chosen by dartsass-rails, while dartsass was last updated 2 years ago.
You're quite right. I use dartsass-rails so I mistakenly assumed that they use dartsass. It seems sassc-embedded is the recommended option to go for. I'll adjust the pull request.
I just went through the transition from sassc to dartsass-rails and it installs sass-embedded (not sassc-embedded) as its dependency, just thought I'd mention this. Also visible here: https://rubygems.org/gems/dartsass-rails/versions/0.5.1
I'm going through the same migration but I've decided to replace the gem with a foundation-sites NPM install since the package is updated and it has no dependencies. I'm not sure if it would be possible for the gem without a major release but ideally it should not have sass, sassc, sass*-embedded or sprockets-es6 as dependencies. The latter is unnecessary and the former would be best to let the host app decide. Note that the foundation-sites does not specify a sass or babel dependency as an example.
Any update on this?
This PR is not needed anymore since adding to Gemfile:
gem 'dartsass-sprockets'
gem 'sass-embedded'
solves the problem. sassc-embedded provides a shim that satisfies foundation's dependency requirement about sassc. And it works flawlessly.