389432048c
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
7 lines
102 B
JavaScript
7 lines
102 B
JavaScript
module.exports = {
|
|
exportPathMap() {
|
|
return {
|
|
'/first': { page: '/[slug]' },
|
|
}
|
|
},
|
|
}
|