mirror of
				https://github.com/gohugoio/hugo.git
				synced 2024-05-11 05:54:58 +00:00 
			
		
		
		
	Fix CLI example for PostCSS 8
This commit is contained in:
		
				
					committed by
					
						
						Bjørn Erik Pedersen
					
				
			
			
				
	
			
			
			
						parent
						
							6f07ec7e9e
						
					
				
				
					commit
					0c3d2b67e0
				
			@@ -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 = {
 | 
			
		||||
      : []
 | 
			
		||||
  ]
 | 
			
		||||
}
 | 
			
		||||
```
 | 
			
		||||
```
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user