getsentry / sentry-javascript-bundler-plugins

JavaScript Bundler Plugins for Sentry
https://sentry.io
BSD 3-Clause "New" or "Revised" License
141 stars 36 forks source link

fix: Use `sequential` and `post` order for vite artifact deletion #568

Closed tyouzu1 closed 4 months ago

tyouzu1 commented 4 months ago

Sometimes writeBundle is executed before the upload task, need to ensure the order of code execution

tyouzu1 commented 4 months ago

No other plugins are considered, currently only for reference

tyouzu1 commented 4 months ago

Lgtm! Thank you!

Too fast , Hope there are no bugs 🥲

By the way, it seems that my electron vite project(used vite-plugin-electron) has the same problem( Triggered multiple deletion task ), Looks like it's all solved.

Thanks again