Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to dart sass #221

Open
xeron opened this issue Sep 27, 2023 · 5 comments
Open

Switch to dart sass #221

xeron opened this issue Sep 27, 2023 · 5 comments

Comments

@xeron
Copy link

xeron commented Sep 27, 2023

Since libsass and sassc are deprecated, can we please switch this gem to use dart sass instead?

@BenMorganMY
Copy link

I am also curious about this. sassc is deprecated and dart-sass is the way now.

@anatoljevich
Copy link

The same. Had a lot of pain installing sassc on ElasticBeanstalk latest ruby-3.2 platform.

@rgaufman
Copy link

rgaufman commented Apr 8, 2024

Any update on this? - is there an alternative gem that uses dartsass-rails instead?

@chadlwilson
Copy link

@rgaufman Probably depends what you're relying on here other than font-awesome-sass (rails app based on your comment?), but you might want to consider patching with https://github.com/sass-contrib/sassc-embedded-shim-ruby (in reference to the workarounds there which will hook sassc and redirect things to dart-sass).

There's an example of usage like this at either

@rgaufman
Copy link

rgaufman commented Apr 8, 2024

What I ended up doing was just downloading the minified version of font-awesome and placing the relevant files in vendor/assets/javascript, vendor/assets/stylesheets and vendor/assets/fonts, that allowed me to remove the dependency on this gem and consequently sassc, happy days :)

Maybe worth adding a deprecation warning to this gem so people know it relies on obsolete/dead/dangerous code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants