rsnext/packages/next/shared/lib/router
Jiachi Liu 10d814d31a
Fix dynamic routes with pages under index folder (#32440)
Fixes incorrect generated manifest and generated directory for `index/[...dynamic]` pages

Too much normalizing adding extra `index/` prefix to `index/[...dynamic]` routes which lead to the incorrected generated routes like `.next/server/pages/index/index/index/[...dynamic]`

## Bug

Fixes https://github.com/vercel/customer-issues/issues/146

- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`
2021-12-13 20:36:31 +00:00
..
utils Fix dynamic routes with pages under index folder (#32440) 2021-12-13 20:36:31 +00:00
router.ts Fix hydration middleware effects (#31800) 2021-11-26 12:46:57 +00:00