rsnext/packages/next/next-server
JJ Kasper 85d87a3795
Ensure dev overlay is triggered for more _app/_document errors (#24328)
This expands on https://github.com/vercel/next.js/issues/24070 and ensures we show the dev overlay for additional cases like where `_app` or `_document` have syntax errors causing compilation to not be able to complete. This achieves showing the dev overlay even when compilation fails from a syntax error by doing a third minimal compilation in development with the needed client-side assets to render the dev overlay. 

## Bug

- [x] Related issues linked using `fixes #number`
- [x] Integration tests added

x-ref: https://github.com/vercel/next.js/issues/24070
2021-04-22 11:08:47 +00:00
..
lib Ensure locale key not duplicated when navigating back to root path with a query or hash value (#24323) 2021-04-22 03:06:26 +00:00
server Ensure dev overlay is triggered for more _app/_document errors (#24328) 2021-04-22 11:08:47 +00:00