Skip to content

Commit

Permalink
add warning about manually installing PostCSS plugins (#11966)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjaws authored Apr 17, 2020
1 parent 42a328f commit 22e3c69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/advanced-features/customizing-postcss-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ You can learn more about [Next.js' CSS Module support here](/docs/basic-features

> **Warning**: When you define a custom PostCSS configuration file, Next.js **completely disables** the [default behavior](#default-behavior).
> Be sure to manually configure all the features you need compiled, including [Autoprefixer](https://github.com/postcss/autoprefixer).
> You also need to install any plugins included in your custom configuration manually, i.e. `npm install postcss-flexbugs-fixes`.
To customize the PostCSS configuration, create a `postcss.config.json` file in the root of your project.

Expand Down

0 comments on commit 22e3c69

Please sign in to comment.