Fix CLI example for PostCSS 8
authorAndrey Sitnik <andrey@sitnik.ru>
Tue, 22 Sep 2020 16:09:33 +0000 (12:09 -0400)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 22 Sep 2020 17:31:02 +0000 (19:31 +0200)
docs/content/en/hugo-pipes/postcss.md

index a7ba097fabd6b3d4e4b5abb2989734fa9828cdef..391868c590257b070ef572f26ebd5f9515753c02 100755 (executable)
@@ -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
+```