2023-07-05 15:11:16 +02:00
|
|
|
---
|
|
|
|
title: Ignored PostCSS Plugin
|
|
|
|
---
|
2020-01-23 21:28:37 +01:00
|
|
|
|
2023-07-05 15:11:16 +02:00
|
|
|
## Why This Error Occurred
|
2020-01-23 21:28:37 +01:00
|
|
|
|
|
|
|
The project's custom PostCSS configuration attempts to configure unnecessary plugins:
|
|
|
|
|
|
|
|
- postcss-modules-values
|
|
|
|
- postcss-modules-scope
|
|
|
|
- postcss-modules-extract-imports
|
|
|
|
- postcss-modules-local-by-default
|
|
|
|
- postcss-modules
|
|
|
|
|
2023-07-05 15:11:16 +02:00
|
|
|
## Possible Ways to Fix It
|
2020-01-23 21:28:37 +01:00
|
|
|
|
|
|
|
Remove the plugin specified in the error message from your custom PostCSS configuration.
|
|
|
|
|
|
|
|
#### How do I configure CSS Modules?
|
|
|
|
|
2023-07-05 15:11:16 +02:00
|
|
|
CSS Modules are supported in [Next.js' built-in CSS support](/docs/pages/building-your-application/configuring/post-css).
|
|
|
|
You can [read more about how to use CSS Modules here](/docs/pages/building-your-application/configuring/post-css).
|