Open
Description
What problem does this feature solve?
When I accidentally copied a line of incorrect code into mdx, the compilation error led to a white screen in Rspress. It took me a moment to realize that it might be due to an error in compilation. I hope for better error prompts, such as using the overlay from Rsbuild or developing an exclusive overlay for Rspress.

What does the proposed API look like?
No need to add new API.