Not exactly sure I fully understand what they’re about to do, but am passing along this Sass blog post FYI:
Edit: I now see that the repo for Embedded Dart Sass has been archived, with this note in the README:
This is no longer the repository for Embedded Dart Sass. The embedded compiler has been merged into the primary Dart Sass repository, and further releases will be included as part of Dart Sass itself. The embedded compiler can be accessed by running
sass --embedded
.
Further edit: Of course, this means adding this to your PATH
in either dev or production, as was the case with the previous packaging of Embedded Dart Sass. Based on my very preliminary tests on my home system, everything works fine in Hugo with this binary placed there.
Edit, 2023-05-23: I have now written a brief post summarizing all of this from, as I put it therein, a “very Hugo-centric” viewpoint:
Edit, 2023-05-24: I learned the hard way that the current Dart Sass binary (1.62.1) doesn’t yet support Embedded Dart Sass fully (e.g., it doesn’t “watch” files properly for when you make edits to your .scss
files), so keep using the current/archived Embedded Dart Sass binary until there’s a newer Dart Sass release that does provide this support. (This is despite the fact that the Sass team has already changed the Dart Sass README to say that commands such as sass --embedded
and sass --embedded --version
will work; they don’t with the current Dart Sass binary — which makes sense, given that 1.62.1 was released weeks before the Sass team made this change.)