-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Switch to sassc-ruby / sassc-rails #5504
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
Conversation
By the way, I believe |
Thanks for that info @DeeDeeG! In that case, I guess it's better to leave things as they are now, leaving it opened for the application to choose just in case. 👍 |
No problem, and thank you for responding to this situation so quickly! |
96beffc
to
ba38950
Compare
Codecov Report
@@ Coverage Diff @@
## master #5504 +/- ##
==========================================
- Coverage 98.38% 98.38% -0.01%
==========================================
Files 293 293
Lines 11078 11073 -5
==========================================
- Hits 10899 10894 -5
Misses 179 179
Continue to review full report at Codecov.
|
d95bbfb
to
618d918
Compare
d895900
to
2c25ff5
Compare
sassc-rails is in the process of adding jruby support, and this is green when tested against the PR adding support 👍. Thoughts on depending on |
Awesome! I checked the PR there as well. That's great news! In regard to which dependency, I'm not really sure. I have followed what other libraries do. I think if we have been fine with just including |
I don't have a strong opinion, what you said makes sense, so I'll leave it as it is for now. |
Sounds good then, we’ll stick with this for now thanks! Should we wait for a sassc-rails before we merge this? |
Yeah, I think there's no rush 👍 |
2c25ff5
to
aa02df0
Compare
aa25cb6
to
1459a83
Compare
Some updates here. Also, I noticed #5226, due to the fact of depending on plain |
1459a83
to
bc00083
Compare
5c76044
to
d6783b5
Compare
Some extra updates. Everything this was blocked in has been released, so this should be ready to go. I've also added |
I'm holding this off a bit longer, because it's unclear to me whether the I fixed So I think |
14960b7
to
2971f3a
Compare
[Edit: Whoops, looks like this is just narrowly off-topic. Sorry about that, and feel free to ignore this comment.] Hi again! There is a PR to make
[Edit 2: The PR I mentioned here is now merged. Should become part of |
996a27e
to
20b8f41
Compare
With sprockets v4, we might be able to remove this dependency and depend only on `sassc`. But at the moment, sprockets v3 autoloads `sass`, which we no longer depend on so we need to pull `sassc-rails` to do the proper modifications to sprockets to not do that and load `sassc` instead.
good work 🎉 👍 |
Thanks!! Let's do this! |
Woohoo 🎉 |
Awesome thanks! Curious why didn’t we use sass-rails instead? From what I understood that would continue to get updated to avoid issues or perhaps the plan for that gem is to slowly get users to switch to sassc-rails instead? |
Yeah, I had the same doubt. I asked in the rails repo in a couple of related issues, but nobody answered. The way I see it, |
With sprockets v4, we might be able to remove this dependency and depend only on `sassc`. But at the moment, sprockets v3 autoloads `sass`, which we no longer depend on so we need to pull `sassc-rails` to do the proper modifications to sprockets to not do that and load `sassc` instead.
This is some initial work to fix #5502. Something I've noticed is that this effectively drops support for
sass-rails
, so we might as well reintroduce thesassc-rails
runtime dependency since we originally switched fromsass-rails
to plainsass
in order to supportsassc-rails
, but nowsassc-rails
will be the only supported implementation 🤷♂️.Closes #5502.
Closes #5226.