Closed
Description
In a monorepo setup, it is possible that next.config.js
might be in a parent directory if the user has set a base
directory.
Next.js is searching next.config.js
in parent directories using find-up
:
However we are not currently searching it in parent directories:
Using find-up
should fix this bug.