Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure flight manifest is correct with app and pages dir (#38716)
This fixes the failing test case on canary in the `app-dir` test suite which is caused by the flight-manifest including references to the `pages/index` chunk and it being attempted to be loaded for a page in `app` which causes a webpack error in development. This also fixes an error from missing `getDerivedStateFromError` in our error boundary in development. ## Bug - [x] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` x-ref: https://github.com/vercel/next.js/runs/7360713710?check_suite_focus=true x-ref: https://github.com/vercel/next.js/runs/7361755629?check_suite_focus=true x-ref: https://github.com/vercel/next.js/runs/7361755806?check_suite_focus=true
- Loading branch information