This is a Go API backed by the native Dart Sass executable running with sass --embedded
.
Note: The
v2.x.x
of this project targets thev2
of the Dart Sass Embedded protocol with thesass
exexutable in releases that can be downloaeded here. Forv1
you need to importgithub.com/bep/godartsass
and notgithub.com/bep/godartsass/v2
.
The primary motivation for this project is to provide SCSS
support to Hugo. I welcome PRs with bug fixes. I will also consider adding functionality, but please raise an issue discussing it first.
For LibSass bindings in Go, see GoLibSass.