Skip to content

Commit

Permalink
docs: Update the description of PostCSS config
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang authored and bep committed Jul 18, 2022
1 parent 2ffe539 commit 879fc39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/en/hugo-pipes/postcss.md
Expand Up @@ -33,7 +33,7 @@ If you are using the Hugo Snap package, PostCSS and plugin(s) need to be install
### Options

config [string]
: Path to the PostCSS configuration file
: Set a custom directory to look for a config file

noMap [bool]
: Default is `false`. Disable the default inline sourcemaps
Expand Down Expand Up @@ -63,7 +63,7 @@ syntax [string]
: Custom postcss syntax

```go-html-template
{{ $options := dict "config" "customPostCSS.js" "noMap" true }}
{{ $options := dict "config" "/path/to/custom-config-directory" "noMap" true }}
{{ $style := resources.Get "css/main.css" | resources.PostCSS $options }}
{{ $options := dict "use" "autoprefixer postcss-color-alpha" }}
Expand Down

0 comments on commit 879fc39

Please sign in to comment.