With [Rolldown](https://rolldown.rs/) in beta and `rolldown-vite` in the technical preview, a few things could be improved regarding the Sentry JS Bundler plugins: ## Preparation for Rolldown and `rolldown-vite` ### Vite Plugin Right now it seems that using `@sentry/vite-plugin` causes perf slowdown when used with `rolldown-vite` ([example from Twitter](https://x.com/TheAlexLichter/status/1930977073931206928)). Using hook filters (and generally [migrating](https://vite.dev/guide/rolldown#plugin-framework-authors-guide) when rolldown-vite is detected) could help with that. ### Rollup plugin Same improvements regarding plugin hooks should work for Rollup given that hooks are available in Rolldown, Vite and [Rollup](https://github.com/rollup/rollup/pull/5882). ## Bundling Right now, rollup is also used to bundle all the plugins. Like [Vite itself](https://github.com/vitejs/vite/pull/20065), one could either try using Rolldown directly or a lib bundler like [tsdown](https://tsdown.dev/) here --- Related: https://github.com/e18e/ecosystem-issues/issues/171