rsnext/test/integration/duplicate-pages/pages/hello.js
Joe Haddad 55369051f5
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
2019-09-11 14:26:10 -04:00

5 lines
57 B
JavaScript

export default () => (
<>
<h3>Hi 👋</h3>
</>
)