diff options
Diffstat (limited to 'content/en/hugo-pipes/scss-sass.md')
-rwxr-xr-x | content/en/hugo-pipes/scss-sass.md | 4 |
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 %}} |