summaryrefslogtreecommitdiffstats
path: root/docs/content/en/hugo-pipes/postcss.md
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-09-13 20:34:24 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-09-13 20:34:24 +0200
commitaf23cdca9c9c230ffbffbab96f9600a78c76b75f (patch)
tree295143582c22fbac26978fc12f027ca497493fb8 /docs/content/en/hugo-pipes/postcss.md
parentab5ce59894520a796ca658ef0385c65c2fa45f99 (diff)
parent90ad8045056167004d27857a95542936657b8a16 (diff)
Diffstat (limited to 'docs/content/en/hugo-pipes/postcss.md')
-rwxr-xr-xdocs/content/en/hugo-pipes/postcss.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/en/hugo-pipes/postcss.md b/docs/content/en/hugo-pipes/postcss.md
index 154f97f0b..46833e0a4 100755
--- a/docs/content/en/hugo-pipes/postcss.md
+++ b/docs/content/en/hugo-pipes/postcss.md
@@ -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
@@ -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" }}