summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-12-23 09:26:23 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-12-30 17:32:25 +0100
commitcea157402365f34a69882110a4208999728007a6 (patch)
treebc29f699e7c901c219cffc5f50fba99dca53d5bd /docs
parentf9f779786edcefc4449a14cfc04dd93379f71373 (diff)
Add Dart Sass support
But note that the Dart Sass Embedded Protocol is still in beta (beta 5), a main release scheduled for Q1 2021. Fixes #7380 Fixes #8102
Diffstat (limited to 'docs')
-rwxr-xr-xdocs/content/en/hugo-pipes/scss-sass.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/content/en/hugo-pipes/scss-sass.md b/docs/content/en/hugo-pipes/scss-sass.md
index 489d16e77..0cea1254f 100755
--- a/docs/content/en/hugo-pipes/scss-sass.md
+++ b/docs/content/en/hugo-pipes/scss-sass.md
@@ -24,6 +24,11 @@ Any SASS or SCSS file can be transformed into a CSS file using `resources.ToCSS`
```
### Options
+
+transpiler [string] {{< new-in "0.80.0" >}}
+
+: The `transpiler` to use, valid values are `libsass` (default) and `dartsass`. Note that the Embedded Dart Sass project is still in beta (beta 5 at the time of writing). The release is scheduled for Q1 2021. We will try to improve the installation process by then, but if you want to use Hugo with Dart Sass you need to download a release binary from [Embedded Dart Sass](https://github.com/sass/dart-sass-embedded/releases) and make sure it's in your PC's `$PATH` (or `%PATH%` on Windows).
+
targetPath [string]
: If not set, the resource's target path will be the asset file original path with its extension replaced by `.css`.
@@ -31,7 +36,7 @@ outputStyle [string]
: Default is `nested`. Other available output styles are `expanded`, `compact` and `compressed`.
precision [int]
-: Precision of floating point math.
+: Precision of floating point math. **Note:** This option is not supported by Dart Sass.
enableSourceMap [bool]
: When enabled, a source map will be generated.