rsnext/errors/built-in-css-disabled.mdx
Delba de Oliveira 44d1a1cb15
docs: Migrate error messages to MDX and App Router. (#52038)
This PR is part of a larger effort to migrate error messages to MDX and
use App Router: https://github.com/vercel/front/pull/23459
2023-07-05 06:11:16 -07:00

20 lines
790 B
Text

---
title: Built-in CSS Support Disabled
---
## Why This Error Occurred
Custom CSS configuration was added in `next.config.js` which disables the built-in CSS/SCSS support to prevent conflicting configuration.
A legacy plugin such as `@zeit/next-css` being added in `next.config.js` can cause this message.
## Possible Ways to Fix It
If you would like to leverage the built-in CSS/SCSS support you can remove any custom CSS configuration or any plugins like `@zeit/next-css` or `@zeit/next-sass` in your `next.config.js`.
If you would prefer not to leverage the built-in support you can ignore this message.
## Useful Links
- [Built-in CSS Support docs](/docs/pages/building-your-application/styling)
- [Custom webpack config docs](/docs/pages/api-reference/next-config-js/webpack)