-
Notifications
You must be signed in to change notification settings - Fork 27k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explain Ignored PostCSS Plugin (#10240)
- Loading branch information
Showing
2 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Ignored PostCSS Plugin | ||
|
||
#### Why This Error Occurred | ||
|
||
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 | ||
|
||
#### Possible Ways to Fix It | ||
|
||
Remove the plugin specified in the error message from your custom PostCSS configuration. | ||
|
||
#### How do I configure CSS Modules? | ||
|
||
CSS Modules are supported in [Next.js' built-in CSS support](https://nextjs.org/docs/advanced-features/customizing-postcss-config). | ||
You can [read more](https://nextjs.org/docs/advanced-features/customizing-postcss-config) about how to use them [here](https://nextjs.org/docs/advanced-features/customizing-postcss-config). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters