rspack icon indicating copy to clipboard operation
rspack copied to clipboard

[Feature]: better error report of tapable error

Open hardfist opened this issue 10 months ago • 7 comments

What problem does this feature solve?

It's kind of hard to read if rspack mets tapable error, and webpack seems do something to improve the error report image

What does the proposed API of configuration look like?

no api need

hardfist avatar Mar 28 '24 02:03 hardfist

img_v3_029d_4f324f78-3d25-4a5c-8a24-65b1a9a804ag Webpack error contains the error span information. Rspack should interop its error and make it better displayed.

h-a-n-a avatar Mar 28 '24 12:03 h-a-n-a

This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

stale[bot] avatar Jun 25 '24 14:06 stale[bot]

Has this issue been resolved? Can I give it a try?

shulaoda avatar Jul 23 '24 06:07 shulaoda

Has this issue been resolved? Can I give it a try?

It is not resolved. One potential improvement is that Rspack should show plugin name on error.

The miette diagnostic errors should be wrapped with the plugin name.

wxiaoyun avatar Jul 24 '24 13:07 wxiaoyun

Has this issue been resolved? Can I give it a try?

Yeah give it a try

hardfist avatar Jul 24 '24 13:07 hardfist

This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

stale[bot] avatar Sep 22 '24 20:09 stale[bot]

bump

shulaoda avatar Sep 22 '24 21:09 shulaoda