Background
Vite 8 is released, which includes a complete new bundler "rolldown", to bundle the code.
@sentry/vite-plugin depends on @sentry/rollup-plugin, which has the the peer dependency rollup.
Problem
Because of the peer dependency, rollup is still be shown in our package lock. Removing the plugin via npm uninstall @sentry/vite-plugin does remove "rollup" from the package lock too.
Solution
Create a new @sentry/rolldown-plugin, which can be used by @sentry/vite-plugin.
Background
Vite 8 is released, which includes a complete new bundler "rolldown", to bundle the code.
@sentry/vite-plugindepends on@sentry/rollup-plugin, which has the the peer dependencyrollup.Problem
Because of the peer dependency,
rollupis still be shown in our package lock. Removing the plugin vianpm uninstall @sentry/vite-plugindoes remove "rollup" from the package lock too.Solution
Create a new
@sentry/rolldown-plugin, which can be used by@sentry/vite-plugin.