New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: allow the name of Rollup Error to be modified #5240
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov Report
@@ Coverage Diff @@
## master #5240 +/- ##
==========================================
+ Coverage 98.80% 98.82% +0.02%
==========================================
Files 231 231
Lines 8863 8863
Branches 2317 2317
==========================================
+ Hits 8757 8759 +2
+ Misses 45 43 -2
Partials 61 61
|
Thank you for your contribution! ❤️You can try out this pull request locally by installing Rollup via npm install rollup/rollup#xiaopi-uncaught-errors Notice: Ensure you have installed Rust nightly. If you haven't installed it yet, please first see https://www.rust-lang.org/tools/install to learn how to download Rustup and install Rust, then see https://rust-lang.github.io/rustup/concepts/channels.html to learn how to install Rust nightly. or load it into the REPL: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great catch, thanks!
This PR has been released as part of rollup@4.3.1. You can test it via |
This PR contains:
Are tests included?
Breaking Changes?
List any relevant issue numbers:
Description
Recently, I use Rollup and
@rollup/plugin-typescript
(the tsconfignoEmitOnError
is true) plugin to bundle my project, I found that the error content is incorrect if this plugin throws an error by callingthis.error
function under watch mode.The incorrect error.
Therefore, I submitted this PR that allows the name of the Rollup Error to be modified.