mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-08 16:04:54 -04:00
Add note about outputStyle compressed
This commit is contained in:
parent
e3338ee912
commit
ebf1da97ab
@ -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 %}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user