Skip to content

Commit 2b53365

Browse files
authored
docs: add custom PostCSS configuration file warning (#569)
1 parent 8c8c02f commit 2b53365

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/guides/next.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ You can use PurgeCSS with Next.js by using the postCSS plugin in the Next.js con
3232

3333
To customize the PostCSS configuration, create a postcss.config.js file in the root of your project.
3434

35+
> Warning: When you define a custom PostCSS configuration file, Next.js completely disables the 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 postcss-preset-env`.
36+
3537
Add PurgeCSS to the default configuration:
3638

3739
```js

0 commit comments

Comments
 (0)