From ebf1da97ab3a6bd5f8cea2728d507ad96caf8dc1 Mon Sep 17 00:00:00 2001 From: Regis Philibert Date: Thu, 23 Aug 2018 14:20:56 -0400 Subject: [PATCH] Add note about outputStyle compressed --- content/en/hugo-pipes/scss-sass.md | 4 ++++ 1 file changed, 4 insertions(+) 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 %}}