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

Removal of sassc dependency #1235

Open
marcrohloff opened this issue Sep 1, 2022 · 5 comments
Open

Removal of sassc dependency #1235

marcrohloff opened this issue Sep 1, 2022 · 5 comments

Comments

@marcrohloff
Copy link

Can the sassc dependency be removed?

We are using dartsass and would rather not have this as an explicit dependency

@Deele
Copy link

Deele commented Sep 30, 2022

AFAIK, this project does not support DartSass and is using sassc/LibSass (C++ one, not Ruby one).

DartSass is very different from LibSass, don't expect this project to work properly with it.

@marcrohloff
Copy link
Author

I realize that. It would be nice to not have the unneeded dependency since sassc is no longer maintained and it seems to be working fine for us. Changing to a newer version of bootstrap but that is a much bigger project

@jgraichen
Copy link

Version 3.4.2 did break support for sassc/libsass by introducing math.div. Everyone will have to upgrade to dartsass/dartsass-sprockets now. Using sassc will not work anymore at all.

@rgaufman
Copy link

rgaufman commented Apr 8, 2024

Any update on this? - is there an alternative gem that doesn't use the deprecated sassc?

@nimmolo
Copy link

nimmolo commented Apr 27, 2024

@rgaufman I can confirm that switching from sassc to dartsass-sprockets works for our Rails 7 app.

But if we try to switch to dartsass-rails, assets:precompile fails.

Reading through the code of this gem, it seems that sprockets-rails is not a dependency. Is there anyone who has gotten this to work with dartsass-rails? (I started a new issue for this in #1247)

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