Warn build on duplicate pages (#8646)
* Fail build on duplicate pages This will fail the `next build` command when a duplicate page is found. In development, we'll emit a warning instead of crashing the dev server. * Add test for warning in development * Only issue a warning * Fix production test * Fix development test * Remove useless arg * Warn in development, too
Showing
想要评论请 注册 或 登录