diff options
author | Andrey Sitnik <[email protected]> | 2020-09-22 12:09:33 -0400 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2020-09-22 19:31:02 +0200 |
commit | 0c3d2b67e0af38a4c3935fb04f722a73ec1d3f8b (patch) | |
tree | 5fd302303c3654f532b7eb59c268ff10231428fa /docs | |
parent | 6f07ec7e9ec5c43f78100aa36b82786ba0260d75 (diff) | |
download | hugo-0c3d2b67e0af38a4c3935fb04f722a73ec1d3f8b.tar.gz hugo-0c3d2b67e0af38a4c3935fb04f722a73ec1d3f8b.zip |
Fix CLI example for PostCSS 8
Diffstat (limited to 'docs')
-rwxr-xr-x | docs/content/en/hugo-pipes/postcss.md | 4 |
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 a7ba097fa..391868c59 100755 --- a/docs/content/en/hugo-pipes/postcss.md +++ b/docs/content/en/hugo-pipes/postcss.md @@ -27,7 +27,7 @@ The resource will be processed using the project's or theme's own `postcss.confi ``` {{% note %}} -Hugo Pipe's PostCSS requires the `postcss-cli` JavaScript package to be installed in the environment (`npm install -g postcss-cli`) along with any PostCSS plugin(s) used (e.g., `npm install -g autoprefixer`). +Hugo Pipe's PostCSS requires the `postcss-cli` JavaScript package to be installed in the environment (`npm install -g postcss postcss-cli`) along with any PostCSS plugin(s) used (e.g., `npm install -g autoprefixer`). If you are using the Hugo Snap package, PostCSS and plugin(s) need to be installed locally within your Hugo site directory, e.g., `npm install postcss-cli` without the `-g` flag. {{% /note %}} @@ -78,4 +78,4 @@ module.exports = { : [] ] } -```
\ No newline at end of file +``` |