next.js
9a41ba9a - Improve RSC compiler error in external module (#46953)

Commit
2 years ago
Improve RSC compiler error in external module (#46953) 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
Author
Parents
Loading