rsnext/errors/empty-configuration.mdx

22 lines
433 B
Text
Raw Permalink Normal View History

---
title: 'Detected `next.config.js`, no exported configuration found'
---
#### Why This Warning Occurred
There is no object exported from next.config.js or the object is empty.
## Possible Ways to Fix It
Check if you correctly export configuration in `next.config.js` file:
```
module.exports = {
/* config options here */
}
```
## Useful Links
- [Introduction to next.config.js](/docs/pages/api-reference/next-config-js)