summaryrefslogtreecommitdiffhomepage
path: root/content/en/hugo-pipes/scss-sass.md
diff options
context:
space:
mode:
Diffstat (limited to 'content/en/hugo-pipes/scss-sass.md')
-rwxr-xr-xcontent/en/hugo-pipes/scss-sass.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/content/en/hugo-pipes/scss-sass.md b/content/en/hugo-pipes/scss-sass.md
index baed2b4d0..489d16e77 100755
--- a/content/en/hugo-pipes/scss-sass.md
+++ b/content/en/hugo-pipes/scss-sass.md
@@ -43,3 +43,7 @@ includePaths [string slice]
{{ $options := (dict "targetPath" "style.css" "outputStyle" "compressed" "enableSourceMap" true "includePaths" (slice "node_modules/myscss")) }}
{{ $style := resources.Get "sass/main.scss" | resources.ToCSS $options }}
```
+
+{{% note %}}
+Setting `outputStyle` to `compressed` will handle SASS/SCSS files minification better than the more generic [`resources.Minify`]({{< ref "minification">}}).
+{{% /note %}}