Libsass repo has been archived. What's next for Hugo?

This repository was archived by the owner on Oct 25, 2025. It is now read-only.

1 Like

This repository was archived by the owner on Oct 24, 2025. It is now read-only.

It’s about time. The Sass team deprecated LibSass in favor of Dart Sass back in 2020.

At some point we will deprecate then remove the libsass option from the transpiler options. There’s no urgency to do this, other than the possibility of eliminating the need for an “extended” build.

When we remove the libsass option you will need to install Dart Sass locally and in your CI/CD environment. Yeah, it’s an extra step, but at this point everyone should be using Dart Sass anyway to support modern Sass features (e.g., modules).

Finally, I searched through our docs, and all of the css.Sass examples specify the dartsass transpiler option.

2 Likes

I assume after this proof of concept: Encode and Decode using the libwebp library via WASM by bep · Pull Request #14234 · gohugoio/hugo · GitHub then the extended build might be unnecessary?

The extended build is required for (a) WebP encoding and (b) Sass transpilation via LibSass.

Okay. I misunderstood your quoted statement about doing away with extended build.

Yes, that is true.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.