rsnext/errors/empty-configuration.md
Dmitry Rybin 41d1757b4e
fix: 9919 Add warning when no config is exported from next.con… (#10228)
* fix: 9919 no exported config found

* fix: 9919 remove isolated test, add integration

* fix: 9919 add check for successfull compilation and fix warnin check

* Add test for development output

* fix: 9919 add error page and link to it in warning

* Update empty-configuration.md

Co-authored-by: JJ Kasper <jj@jjsweb.site>
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
2020-01-29 09:12:30 +01:00

444 B

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 */
}