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

Migrate the underlying sass compiler to Embedded Sass instead of SassC #261

Merged

Conversation

jhubert
Copy link
Contributor

@jhubert jhubert commented Apr 8, 2024

SassC has been deprecated and replaced with Dart Sass, which is implemented for ruby through the sass-embedded gem.

This change simply swaps embedded-sass in place of SassC.

This should allow #165 to pass and be merged in.

I added an additional commit:

ad1b61b - The previous test HTML output had the word transparent wrapped in double quotes for reasons I'm not clear on. I don't think that's standard HTML / CSS syntax. When I migrated to Embedded Sass that went away, so I checked in the change.

I'm not sure what practices you follow, but I would recommend a version bump to 1.5 for this if you decide to merge and release it.

@jhubert
Copy link
Contributor Author

jhubert commented Apr 8, 2024

There are some subtle changes to the test output files when this runs because they are currently written from version 1.4.0 and the current version of the gem is 1.4.1. I don't believe this has anything to do with my changes.

@jhubert
Copy link
Contributor Author

jhubert commented Apr 9, 2024

This is now running in production on one of my services. So far, so good. 😄

@stuyam
Copy link
Member

stuyam commented Apr 28, 2024

@jhubert thank you for your contribution, merging this and will work on a deploy on a new version 👍

@stuyam stuyam merged commit 8f4d36e into bootstrap-email:main Apr 28, 2024
@joarobles
Copy link

Hi there! This change causes blocking execution problems when running in the Docker image ruby:3.1.2 as in #263

@nirvdrum
Copy link
Contributor

nirvdrum commented May 9, 2024

@joarobles Were you able to find a reproduction? I'm seeing a blocking issue in CI since the sass-embedded migration, but I'm struggling to reproduce the issue locally to debug it.

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

Successfully merging this pull request may close these issues.

None yet

4 participants