swc-plugin
swc-plugin copied to clipboard
Add error handling and proper diagnostics
SWC provides a handler which allows plugin authors to write and show to users their own diagnostics.
This can help with reporting issues and understanding what exactly went wrong.