Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make Missing Prerender Manifest Fatal (#10485)
* Fail on Invalid Prerender Manifest * Make Missing Prerender Manifest Fatal * fix test
- Loading branch information
Showing
3 changed files
with
33 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,16 @@ | ||
import Link from 'next/link' | ||
|
||
export default () => ( | ||
<> | ||
<h3>Hi 👋</h3> | ||
<Link href="/a-non-existing-page"> | ||
<a>a lnik to no-where</a> | ||
</Link> | ||
</> | ||
) | ||
function Index() { | ||
return ( | ||
<> | ||
<h3>Hi 👋</h3> | ||
<Link href="/a-non-existing-page"> | ||
<a>a link to no-where</a> | ||
</Link> | ||
</> | ||
) | ||
} | ||
|
||
Index.getInitialProps = () => ({}) | ||
|
||
export default Index |