Skip to content

Update libsass to dart sass#2102

Merged
travisbeckham merged 3 commits intomainfrom
travis/dartsass
Apr 24, 2026
Merged

Update libsass to dart sass#2102
travisbeckham merged 3 commits intomainfrom
travis/dartsass

Conversation

@travisbeckham
Copy link
Copy Markdown
Collaborator

@travisbeckham travisbeckham commented Mar 4, 2026

The embedded LibSass transpiler in Hugo was deprecated in v0.153.0 and will be removed in a future release. LibSass was deprecated by the Sass team back in 2020.

This PR upgrades the transpiler to Dart Sass, modernizes the scss files, and updates the build workflow.

To use Dart Sass with Hugo for local development, install Dart Sass somewhere in your PATH, Hugo will find it. For example, to install with Homebrew, run: brew install sass/sass/sass.

To use Dart Sass with Hugo when deploying to branch previews or production, the build workflow has been updated to install Dart Sass before the Hugo site build begins.

Preview
https://deploy-preview-2102--linkerdio.netlify.app/

Signed-off-by: Travis Beckham <travis@buoyant.io>
@travisbeckham travisbeckham requested a review from kflynn March 5, 2026 18:19
Copy link
Copy Markdown
Member

@kflynn kflynn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we go for it as long as the Netlify previews look good. I can't think of anything else we could reasonably do to test.

@travisbeckham travisbeckham merged commit 26bdf9b into main Apr 24, 2026
12 checks passed
@travisbeckham travisbeckham deleted the travis/dartsass branch April 24, 2026 15:00
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.

2 participants