9a41ba9ac4
When the RSC compiler error was caused by an external package, make the error message display which import caused the error. Also don't show node_module files in the import trace. Continuation of https://github.com/vercel/next.js/pull/45484 Before ![image](https://user-images.githubusercontent.com/25056922/224032476-6811a1d5-d690-48be-9602-781f459edc70.png) After ![image](https://user-images.githubusercontent.com/25056922/224032177-2d0b2977-098f-46bd-8e30-9e6bc21b9153.png) Updates the format of the files, from `app/page.js` to `./app/page.js` to align it with other import traces. ![image](https://user-images.githubusercontent.com/25056922/224030420-1d3ff0ba-5747-4ed3-8b0b-9c4deace54ea.png) Closes NEXT-523 |
||
---|---|---|
.. | ||
__snapshots__ | ||
component-stack.test.ts | ||
error-recovery.test.ts | ||
helpers.ts | ||
hydration-error.test.ts | ||
ReactRefresh.test.ts | ||
ReactRefreshLogBox-app-doc.test.ts | ||
ReactRefreshLogBox-builtins.test.ts | ||
ReactRefreshLogBox-scss.test.ts | ||
ReactRefreshLogBox.test.ts | ||
ReactRefreshLogBoxMisc.test.ts | ||
ReactRefreshModule.test.ts | ||
ReactRefreshRegression.test.ts | ||
ReactRefreshRequire.test.ts | ||
server-component-compiler-errors-in-pages.test.ts |