| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
npm i https://pkg.pr.new/unjs/unplugin@482 commit: 7e2bf22 |
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks!
Sorry, something went wrong.
|
Thanks for the quick response ❤️ |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Description
Add error handling for the plugin's transform in the Rspack loader.
Wrapping the plugin.transform.call() in a try-catch block to ensure that any errors thrown during the transformation process are properly captured and passed to Rspack's error handling mechanism.
I made the same changes to the webpack loader to keep it consistent.
Related issues
resolve web-infra-dev/rsbuild#4789
Preview