Closed
Description
When a site does not have Next.js, the following error message should be shown, so it is clear to users what should be fixed:
This requires importing next
dynamically. This used to rely on next-on-netlify
being dynamically imported. With next-on-netlify
being merged, this stopped working and the following is shown instead (marked as a plugin bug in the build logs):
This should be fixed by importing next
dynamically.