mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-11-09 14:59:45 +00:00
Update README to advise autoprefixer bug
- autoprefixer should temporarily be pinned to avoid bug
This commit is contained in:
parent
d5e8be8d78
commit
49e5fb4ef4
1 changed files with 4 additions and 2 deletions
|
@ -27,10 +27,12 @@ Developer-friendly:
|
||||||
|
|
||||||
- Requires extended version of [Hugo](https://gohugo.io/getting-started/installing/) (latest version recommended)
|
- Requires extended version of [Hugo](https://gohugo.io/getting-started/installing/) (latest version recommended)
|
||||||
|
|
||||||
To make changes to the theme CSS, extended Hugo's [PostCSS](https://gohugo.io/hugo-pipes/postcss/) requires JavaScript packages to compile the styles. You'll need `postcss`, `postcss-cli`, and `autoprefixer` which you can install using `npm`:
|
To make changes to the theme CSS, extended Hugo's [PostCSS](https://gohugo.io/hugo-pipes/postcss/) requires JavaScript packages to compile the styles. You'll need `postcss`, `postcss-cli`, and `autoprefixer` which you can install using `npm`.
|
||||||
|
|
||||||
|
To temporarily address [this issue](https://github.com/postcss/autoprefixer/issues/1358), please pin `autoprefixer@9.8.6`.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm i -g postcss postcss-cli autoprefixer
|
npm i -g postcss postcss-cli autoprefixer@9.8.6
|
||||||
```
|
```
|
||||||
|
|
||||||
[Learn how to install and use npm here](https://www.npmjs.com/get-npm).
|
[Learn how to install and use npm here](https://www.npmjs.com/get-npm).
|
||||||
|
|
Loading…
Reference in a new issue