-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Possible to use this gem with dartsass-rails
?
#1247
Comments
Try dartsass-sprockets instead. I use that quite successfully as it uses sass-embedded under the hood. |
Thanks @mhenrixon - Unfortunately for us, That's why we were looking to try |
@nimmolo, I have already upgraded one project to BS 5.3, but the other project is a beast of 300,000 LoC and has 60% test coverage. esbuild/node-sass still have issues with picking up on changes that I haven't experienced with, say, tailwindcss, vite, and bun. |
@mhenrixon Good to know about node-sass not picking up changes either. Something tells me the deprecation warnings from BS 3 are stoping compilation and i just have to knuckle down and upgrade. I agree with you about how daunting that can be. My main project is a 271K LoC beastie that i've been trying to get to BS4 for years, but keep realizing there are deeper things to fix! |
Switching our Rails 7 app from
sassc
todartsass-sprockets
works withbootstrap-rails
.But if we try to switch to
dartsass-rails
,assets:precompile
fails.If we keep gem
sprockets-rails
andsprockets:railtie
:or if we don't load sprockets, of course there's no task
assets:precompile
:I've tried debugging this according to this issue on dartsass-rails, but even with the file
app/assets/builds/.keep
in place,assets:precompile
is not a defined task.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?The text was updated successfully, but these errors were encountered: