Files
JJ KasperandGitHub 389432048c Update check for fallback pages during export (#33323)
This fixes our check for fallback pages during `next export` as we are currently erroring even when the erroneous pages are not included in the `exportPathMap`. This also adds additional tests to certify the expected behavior for the error. 

## Bug

- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
- [x] Errors have helpful link attached, see `contributing.md`

Fixes: https://github.com/vercel/next.js/issues/29135
2022-01-17 14:44:45 +00:00

19 lines
264 B
JavaScript

export function getStaticProps() {
return {
props: {
now: Date.now(),
},
}
}
export function getStaticPaths() {
return {
paths: ['/first'],
fallback: 'blocking',
}
}
export default function Page() {
return <p>catch-all page</p>
}