rsnext/test/integration/export-fallback-true-error/next.config.js
JJ Kasper 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

7 lines
102 B
JavaScript

module.exports = {
exportPathMap() {
return {
'/first': { page: '/[slug]' },
}
},
}